Loading...
Last updated on
GenSX is designed to be compatible with TypeScript. This page has some tips and tricks for using GenSX with TypeScript.
GenSX requires TypeScript version 5.1 or higher.
target
should be set to at least es6
module
should be set to at least es6
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.