Skip to content

parseTsConfig

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

Import:

import { parseTsConfig } from 'obsidian-dev-utils/script-utils/check-project-types';

Signature:

function parseTsConfig(tsConfigPath: string): ParsedTsConfig

Parameters:

ParameterTypeDescription
tsConfigPathstringAbsolute path to the config file.

Returns: ParsedTsConfig — The resolved file names and options.


Links to this page: