Skip to Content
Typescript compatibility

TypeScript Compatibility

GenSX is designed to be compatible with TypeScript. This page has some tips and tricks for using GenSX with TypeScript.

Minimum TypeScript Version

GenSX requires TypeScript version 5.1 or higher.

TypeScript Configuration

  • target should be set to at least es6
  • module should be set to at least es6

JavaScript Compatibility

GenSX is bundled with builds for both CommonJS and ESM. This means that you can use GenSX in any environment that supports either of these module formats.

Last updated on