mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
17 lines
1012 B
JavaScript
17 lines
1012 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
function makeResolutionFunctions(resolveModuleName, resolveTypeReferenceDirective) {
|
||
|
resolveModuleName =
|
||
|
resolveModuleName ||
|
||
|
(function (typescript, moduleName, containingFile, compilerOptions, moduleResolutionHost) {
|
||
|
return typescript.resolveModuleName(moduleName, containingFile, compilerOptions, moduleResolutionHost);
|
||
|
});
|
||
|
resolveTypeReferenceDirective =
|
||
|
resolveTypeReferenceDirective ||
|
||
|
(function (typescript, typeDirectiveName, containingFile, compilerOptions, moduleResolutionHost) {
|
||
|
return typescript.resolveTypeReferenceDirective(typeDirectiveName, containingFile, compilerOptions, moduleResolutionHost);
|
||
|
});
|
||
|
return { resolveModuleName: resolveModuleName, resolveTypeReferenceDirective: resolveTypeReferenceDirective };
|
||
|
}
|
||
|
exports.makeResolutionFunctions = makeResolutionFunctions;
|
||
|
//# sourceMappingURL=resolution.js.map
|