allow type aliases

This commit is contained in:
Eugene Pankov
2021-08-15 14:23:26 +02:00
parent 4fa16c8a20
commit f7b0272be5
6 changed files with 7 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ nodeModule.prototype.require = function (query: string) {
return originalModuleRequire.call(this, query)
}
export type ProgressCallback = (current: number, total: number) => void // eslint-disable-line @typescript-eslint/no-type-alias
export type ProgressCallback = (current: number, total: number) => void
export function initModuleLookup (userPluginsPath: string): void {
global['module'].paths.map((x: string) => nodeModule.globalPaths.push(normalizePath(x)))