IDE Setup
Run chad init in your project directory to set up editor support:
bash
chad initThis generates:
chadscript.d.ts— type declarations for all built-in APIstsconfig.json— configured to use the declarations for editor supporthello.ts— a starter file
With these in place, VS Code (and any editor using the TypeScript language server) provides autocomplete, go-to-definition, and inline error highlighting for ChadScript's built-in APIs.
Use chad build to compile — tsc is not part of the build process.