TS Modify adds TypeScript support to KubeJS on Minecraft Forge 1.20.1.
Write KubeJS scripts with TypeScript syntax, including types, interfaces, enums, and modern language features. TS Modify automatically transpiles supported .ts, .tsx, .mts, and .cts files into Rhino-compatible JavaScript when KubeJS loads them.
It also provides module import/export support for relative scripts and shared_scripts, keeps server and client module contexts separate, and caches compiled Rhino scripts to speed up unchanged script reloads.
