Checked
A compiled program, and the checker that answers questions about it.
import type { CompilerOptions } from "#codebase/tcmts/core/program"; import type { TypeChecker } from "#codebase/tcmts/core/ts"; import type { LanguageService as ts_LanguageService, Program as ts_Program } from "typescript/sync"; export interface Checked { program: ts_Program; checker: TypeChecker; /** the editor's questions (references, imports), about the same program */ service: ts_LanguageService; options: CompilerOptions; /** let the compilation go (in the compiler process too): what's asked of it after fails. Until then it's kept */ dispose?: () => void; }