Skip to content

Type-check TypeScript

Bash
npx tsc --noEmit
# or
task build
  • Type-checks .ts files in src/ without emitting any output files.
  • The following modules are explicitly listed in tsconfig.json: src/torch/**/*, src/gaslets/**/*
  • gears, jestlite, and remnantflicker are type-checked via import chain from src/index.ts.
  • Settings are configured in tsconfig.json (target: ES2020, module: ESNext, moduleResolution: bundler).

task build is a type-check only step. To produce the GAS bundle, use task bundle instead.

References

  • tsconfig.json — TypeScript compiler options
  • package.json — npm scripts
  • Test — Run tests with Vitest
  • Formatter — Format code with Biome
  • Bundle — Bundle source for Google Apps Script