Open LuanHimmlisch opened 3 months ago
With the latest releases in developer mode, you can choose Menu - Developer mode - Set up TypeScript for addon, select the folder for your addon, and it updates all type definitions for the addon. Were you aware that existed? It sounds like you've been doing something else.
@AshleyScirra I was misusing the "Set up TypeScript for addon" just on a blank folder to download all of them, since I got errors when selecting an addon folder.
Nonetheless, this workflow can't be automatized externally from the engine, having a more standard way of updating the type definitions, such as updating them through a package manager like NPM, would feel more comfortable to advanced developers and would allow building frameworks around them.
Reviewed guidelines
Checked for duplicate suggestions
Summary
The type definitions should be an NPM package to quickly and effortlessly update the definitions from an Add-on project
Possible workarounds or alternatives
Make a web scrapper that automatically downloads the typings
Proposed solution
Make a new repository and add it to NPM, it should contain all the typings up to date
Why is this idea important?
Having to download all the typings, and drag and drop the needed files just to sync them up with your addons if you need a new Construct feature is sluggish and archaic
Additional remarks
No response