MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / getConfigDirectory

Function getConfigDirectory

src/transpilation/utils.ts:34–35  ·  view source on GitHub ↗
(options: ts.CompilerOptions)

Source from the content-addressed store, hash-verified

32}
33
34export const getConfigDirectory = (options: ts.CompilerOptions) =>
35 options.configFilePath ? path.dirname(options.configFilePath) : process.cwd();
36
37const getTstlDirectory = () => path.dirname(__dirname);
38

Callers 2

getPluginsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected