CompilerOptions

tcmts.core.program.CompilerOptions · #mjhecfsf · type

Compiler options, as TypeScript 7 takes them (enums as numbers, lib by name).

export type CompilerOptions = Record<string, unknown> & {
  module?: number;
  moduleResolution?: number;
  target?: number;
  jsx?: number;
  lib?: string[];
  types?: string[];
  typeRoots?: string[];
  paths?: Record<string, string[]>;
  jsxImportSource?: string;
};

used by