We could support TypeScript for
- inline expressions
ts-tagged fenced code blocks
- imported TypeScript modules (
.ts)
We want to use esbuild’s JavaScript API for this.
We should consider type checking of TypeScript a separate (bonus, dependent) feature. To start, let’s just worry about interoperability with TypeScript, and developers can use VS Code or their own tooling to perform type checking.
We could support TypeScript for
ts-tagged fenced code blocks.ts)We want to use esbuild’s JavaScript API for this.
We should consider type checking of TypeScript a separate (bonus, dependent) feature. To start, let’s just worry about interoperability with TypeScript, and developers can use VS Code or their own tooling to perform type checking.