CommunityNews

CommunityNews

TypeScriptToLua: Write Lua with TypeScript

Extend existing APIs

This project is useful in any environment where Lua code is accepted, with the powerful option of simply declaring any existing API using TypeScript declaration files.

Type Safety

Static types can ease the mental burden of writing programs, by automatically tracking information the programmer would otherwise have to track mentally in some fashion. Types serve as documentation for yourself and other programmers and provide a ‘gradient’ that tells you what terms make sense to write.

IDE Support

Types enable Lua developers to use highly-productive development tools and practices like static checking and code refactoring when developing Lua applications. TypeScript extensions are available for many text editors.

Read in full here:

https://typescripttolua.github.io/

This thread was posted by one of our members via one of our news source trackers.

Where Next?

Popular Frontend topics Top

First poster: bot
I suspect you’ve already have Emscripten (https://emscripten.org/) installed. Make sure, you’ve included the proper paths, so you can iss...
New
First poster: KnowledgeIsPower
Hi all, With excitement we’re sharing today that Vue.js is Wikimedia Foundation’s official choice for adoption as future JavaScript fr...
/js
New
First poster: bot
State of the Web: Deno. What is Deno, why does it matter, and how is it currently used for server-side JavaScript?
New
First poster: bot
I had an “oh, duh, of course” moment a few weeks ago that I wanted to share: is WebAssembly the next Kubernetes?
New
First poster: bot
Deno in 2021. Retrospect of what happened in 2021 and what’s coming in 2022
New
First poster: bot
Misusing TypeScript Assertion Functions for Fun and Profit — Sympolymathesy, by Chris Krycho. TypeScript’s assertions functions (asserts...
New
First poster: bot
Effective TypeScript › What’s TypeScript compiling? Use a treemap to find out… Has TypeScript gotten slow for you? Run this one magic co...
New
First poster: bot
ESLint equivalents in Elm. Comparing ESLint functionality and the equivalents in the Elm ecosystem
New
First poster: bot
TIL: You Can Access A User’s Camera with Just HTML. So that’s the HTML capture attribute. It’s a pretty cool way to add a nicer user exp...
New
First poster: bot
Writing composable SQL using JavaScript by Gajus Kuizinas. A walkthrough of common patterns of writing SQL queries in JavaScript with th...
New

Other popular topics Top

ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
New
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
Margaret
Ask Me Anything with Mark Volkmann @mvolkmann On February 24 and 25, we are giving you a chance to ask questions of PragProg author M...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New