Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
fix: if x-typescript-types do not exist. then fallback to origin file
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Apr 7, 2020
1 parent 5ea1d19 commit 05496e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/module_resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ export class ModuleResolver implements ModuleResolverInterface {
/* istanbul ignore else */
if (typeModule) {
typeModule.origin = httpModuleURL;
return typeModule;
}

return typeModule;
}

return {
Expand Down

0 comments on commit 05496e3

Please sign in to comment.