TSConfig
Best Practices
TSConfig best practices for Nova with small preset chains, explicit wiring, and stable compiler behavior for Node and bundlers.
DX - Essentials
Set the baseline TypeScript compiler options for Nova projects with Node ESM resolution, declaration output, and source maps.
DX - Strict
Layer strict TypeScript checks over the essentials baseline with full strict mode, unused-code detection, and exhaustive null safety.
Framework - Astro
The Astro framework layer for your TypeScript config: bundler resolution, DOM libraries, and preserved JSX for .astro components.
Framework - Docusaurus
Configure TypeScript for Docusaurus sites with bundler resolution, DOM libs, preserved JSX, and no TypeScript emit.
Framework - Express.js
Configure TypeScript for Express.js servers with Node ESM module resolution and the latest ECMAScript library.
Framework - Next.js
Configure TypeScript for Next.js apps with bundler resolution, DOM libs, isolated modules, and no TypeScript emit.
Runtime - Browser
Add browser DOM type definitions and bundler module resolution to a Nova TSConfig chain for code that ships to the browser.
Runtime - Cloudflare Workers
Configure TypeScript for Cloudflare Workers with bundler resolution, per-file isolation, and no compiler emit so Wrangler owns the build.
Runtime - Edge
Add DOM-compatible type definitions and bundler module resolution to a Nova TSConfig chain for code that runs on edge runtimes.
Runtime - Node
Add Node ESM module resolution and the ESNext lib to a Nova TSConfig chain for code that runs on the Node.js runtime.
Runtime - Service Worker
Configure TypeScript for service workers with WebWorker libraries, ESNext modules, and bundler resolution for browser background scripts.
Runtime - Web Worker
Configure TypeScript for web workers with WebWorker libraries, ESNext modules, automatic module detection, and bundler resolution.
Tool - Vite
Configure TypeScript for Vite projects with bundler module resolution, isolated modules, browser libs, and no TypeScript emit.