Skip to content

Releases: elMuso/defold-annotations-typescript

Release list

1.9.1

Choose a tag to compare

@elMuso elMuso released this 29 Jul 20:54

This release is to fix some generation errors and add more human input to the code.

Some things changed and differ from the previous release and general lua implementation:

  • The "table" type was divided into 3. Table (as any), table_array (as an array of any) and table_map (as a record of any,any). Experimental support for lua typescript tables.It is unknown if this will break any functionality for now
  • The messages.d.ts was renamed to dmsg.ts and dprop.ts and now can be treated as a normal typescript file. just drag it and import it.
  • The config.ts was heavily modified to generate more verbose parameters and return types. Some of them might be wrong. If you find anything to report, post an issue
  • Fixed index.d.ts in its totality and added ESLint support (to avoid red errors)

The types are still experimental, prepare to use as many "as" as possible.