Skip to content

Features

TypeScript Support

The jsii compiler leverages the original TypeScript compiler API to compile TypeScript source files and produce JavaScript output and TypeScript declaration files, while also extracting the compiled module's API signatures in a jsii assembly file.

To determine the version of TypeScript that is in use by the installed release of jsii, simply look at the jsii --version output:

# jsii --version
1.15.0 (build 585166b), typescript 3.9.7

You can then refer to the TypeScript documentation to determine which language features are available in that specific TypeScript release.

Warning

The jsii compiler imposes some restrictions on what TypeScript features can be used to declare the APIs exported by a jsii module, in order to ensure those APIs can be consistently represented in other languages. For more information, refer to the TypeScript Restrictions page.

Target Languages

The following target languages are currently offered by jsii-pacmak, or are currently being developed:

Language Status
C# Generally Available
Go Generally Available
Java Generally Available
JavaScript Generally Available
Kotlin Development
Python Generally Available
TypeScript Generally Available
Status Definitions
  • Generally Available languages are fully supported. The generated APIs will not change in breaking ways across minor and patch releases.
  • Developer Preview languages are experimental. The generated APIs may change in breaking ways across minor releases.
  • Development languages are not yet ready for consumption. They are actively developed and may still lack certain essential features.

Last update: 2023-03-27