XciD's picture
XciD HF staff
initial commit
8969f81
raw
history blame contribute delete
257 Bytes
const rootDirFinder = function(): string {
let i = __dirname.split('/').findIndex((dir) => dir === 'transformer-autocomplete');
return __dirname.split('/').slice(0, i+1).join('/');
};
const __rootDir: string = rootDirFinder();
export default __rootDir;