import * as path from 'path' // @ts-ignore import * as appModulePath from 'app-module-path' appModulePath.addPath(path.resolve(__dirname, '../')) appModulePath.addPath(__dirname)
import { addPath, enableForDir, removePath } from 'app-module-path'; addPath('/tmp'); enableForDir('/tmp'); removePath('/tmp');