Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Sep 19, 2023
1 parent cf8f708 commit ca22ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolve-ts-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export const resolveTsPath = (
if (possibleExtensions) {
const extensionlessPath = filePath.slice(0, -extension.length);
return possibleExtensions.map(
(tsExtension) => (
tsExtension => (
extensionlessPath
+ tsExtension
+ (query ? `?${query}` : '')
)
),
);
}
};

0 comments on commit ca22ce6

Please sign in to comment.