Skip to content

parseTsConfig

Parses a tsconfig.json (resolving extends, include, exclude) into the resolved file list and compiler options.

Import:

import { parseTsConfig } from '@mnaoumov/typescript-dev-toolkit/check-project-types';

Signature:

function parseTsConfig(tsConfigPath: string): ParsedTsConfig

Parameters:

Parameter Type Description
tsConfigPath string Absolute path to the config file.

Returns: ParsedTsConfig — The resolved file names and options.


Links to this page: