Introduction | The AssemblyScript Book
Let's attempt the unthinkable, shall we?
Stay updated with breaking news from While Typescript. Get real-time updates on events, politics, business, and more. Visit us for reliable news and exclusive interviews.
Let's attempt the unthinkable, shall we?
cdaringe January 24, 2021 Of course we want type safety when programming Factorio mods. Unfortunately, Factorio's Lua modding API offers no such provisions. Good news! factorio-type-kit helps bridge that gap via TypeScript. While TypeScript doesn't offer the strongest safety guarantees of any language under the sun, it does offer moderate safety, and works well as a Lua replacement. The following steps are required to author factorio mods in TS: Factorio in TypeScript - Outline We will execute the following steps later, but at a glance, here are the general required steps: Install node. I rec...