1234567891011121314151617181920212223242526272829303132333435 |
- 'use strict';
- const { resolveModuleName } = require('ts-pnp');
- exports.resolveModuleName = (
- typescript,
- moduleName,
- containingFile,
- compilerOptions,
- resolutionHost
- ) => {
- return resolveModuleName(
- moduleName,
- containingFile,
- compilerOptions,
- resolutionHost,
- typescript.resolveModuleName
- );
- };
- exports.resolveTypeReferenceDirective = (
- typescript,
- moduleName,
- containingFile,
- compilerOptions,
- resolutionHost
- ) => {
- return resolveModuleName(
- moduleName,
- containingFile,
- compilerOptions,
- resolutionHost,
- typescript.resolveTypeReferenceDirective
- );
- };
|