mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
10 lines
531 B
JavaScript
10 lines
531 B
JavaScript
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);
|
|
};
|