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): ParsedTsConfigParameters:
| Parameter | Type | Description |
|---|---|---|
tsConfigPath | string | Absolute path to the config file. |
Returns: ParsedTsConfig — The resolved file names and options.
Links to this page: