resolution.js 1012 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function makeResolutionFunctions(resolveModuleName, resolveTypeReferenceDirective) {
  4. resolveModuleName =
  5. resolveModuleName ||
  6. (function (typescript, moduleName, containingFile, compilerOptions, moduleResolutionHost) {
  7. return typescript.resolveModuleName(moduleName, containingFile, compilerOptions, moduleResolutionHost);
  8. });
  9. resolveTypeReferenceDirective =
  10. resolveTypeReferenceDirective ||
  11. (function (typescript, typeDirectiveName, containingFile, compilerOptions, moduleResolutionHost) {
  12. return typescript.resolveTypeReferenceDirective(typeDirectiveName, containingFile, compilerOptions, moduleResolutionHost);
  13. });
  14. return { resolveModuleName: resolveModuleName, resolveTypeReferenceDirective: resolveTypeReferenceDirective };
  15. }
  16. exports.makeResolutionFunctions = makeResolutionFunctions;
  17. //# sourceMappingURL=resolution.js.map