TypeScript

TypeScript support

By default, Airplane views are initialized using TypeScript. Running airplane views init will:
  • Search for a tsconfig.json file in your current directory. If it does not exist, we will generate a default tsconfig.json for you in your current directory. You can change the configuration to suit your needs.
  • Search your package.json for the typescript dependency. If TypeScript is not installed, we will install the latest version.
We provide the tsconfig.json file to enable TypeScript code editor support. We currently do not run tsc when building your view, so type errors will not stop your view from being deployed.