Babylon development: ES version, Typescript version, in-file documentation format?

Thank you. From your link, I was able to determine what I need for now:

tsconfig.build.json:

  • “target”: “es2021”, // esnext has an issue with class generation and our decoders. TODO - avoid using decorators until in standard

TypeDoc reference:

  • “test:docs”: “node ./scripts/typedoc-generator.js”

So I can get started converting to TypeScript using TypeDoc and compiling to JavaScript with:

  • tsc -t es2021 PhysicsDebug.ts
2 Likes