MCPcopy
hub / github.com/compodoc/compodoc / readConfig

Function readConfig

src/utils/utils.ts:103–110  ·  view source on GitHub ↗
(configFile: string)

Source from the content-addressed store, hash-verified

101}
102
103export function readConfig(configFile: string): any {
104 let result = ts.readConfigFile(configFile, ts.sys.readFile);
105 if (result.error) {
106 let message = ts.formatDiagnostics([result.error], formatDiagnosticsHost);
107 throw new Error(message);
108 }
109 return result.config;
110}
111
112export function stripBom(source: string): string {
113 if (source.charCodeAt(0) === 0xfeff) {

Callers 2

startMethod · 0.90
resolvePathAliasMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…