UNPKG

types-testing

Version:

Test TypeScript types at test runner runtime - Works seamlessly with Jest, Vitest, and Bun.

17 lines (16 loc) 478 B
import ts from 'typescript'; import type { CompileOptions } from './compile'; /** @internal */ export declare const createProgram: (options: CompileOptions) => Program; /** @internal */ export type Program = ts.Program & { /** @internal */ __internal: { /** @internal */ files: readonly string[]; /** @internal */ options: ts.CompilerOptions; /** @internal */ projectReferences?: readonly ts.ProjectReference[]; }; };