KC's Workspace
    Preparing search index...
    interface TypecheckConfig {
        allowJs?: boolean;
        checker: string & Record<never, never> | "tsc" | "vue-tsc";
        enabled?: boolean;
        exclude: string[];
        ignoreSourceErrors?: boolean;
        include: string[];
        only?: boolean;
        spawnTimeout?: number;
        tsconfig?: string;
    }
    Index

    Properties

    allowJs?: boolean

    Check JS files that have @ts-check comment. If you have it enabled in tsconfig, this will not overwrite it.

    checker: string & Record<never, never> | "tsc" | "vue-tsc"

    What tools to use for type checking.

    'tsc'
    
    enabled?: boolean

    Run typechecking tests alongside regular tests.

    exclude: string[]

    Pattern for files that should not be treated as test files

    ['**/node_modules/**', '**/dist/**', '**/cypress/**', '**/.{idea,git,cache,output,temp}/**', '**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*']
    
    ignoreSourceErrors?: boolean

    Do not fail, if Vitest found errors outside the test files.

    include: string[]

    Pattern for files that should be treated as test files

    ['**/*.{test,spec}-d.?(c|m)[jt]s?(x)']
    
    only?: boolean

    When typechecking is enabled, only run typechecking tests.

    spawnTimeout?: number

    Minimum time in milliseconds it takes to spawn the typechecker.

    10_000
    
    tsconfig?: string

    Path to tsconfig, relative to the project root.