parseJsonSourceFileConfigFileContent

external fun parseJsonSourceFileConfigFileContent(sourceFile: TsConfigSourceFile, host: ParseConfigHost, basePath: String, existingOptions: CompilerOptions = definedExternally, configFileName: String = definedExternally, resolutionStack: ReadonlyArray<Path> = definedExternally, extraFileExtensions: ReadonlyArray<FileExtensionInfo> = definedExternally, extendedConfigCache: ReadonlyMap<String, ExtendedConfigCacheEntry> = definedExternally, existingWatchOptions: WatchOptions = definedExternally): ParsedCommandLine(source)

Parse the contents of a config file (tsconfig.json).

Parameters

jsonNode

The contents of the config file to parse

host

Instance of ParseConfigHost used to enumerate files in folder.

basePath

A root directory to resolve relative path entries in the config file to. e.g. outDir