We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9426b45 commit 80c8699Copy full SHA for 80c8699
src/resolve/metadataResolver.ts
@@ -385,8 +385,11 @@ const resolveTypeFromStrictFolder =
385
.filter(folderTypeFilter(fsPath))
386
.find(
387
(type) =>
388
- // any of the following 3 options is considered a good match
389
- isMixedContentOrBundle(type) || suffixMatches(type, fsPath) || childSuffixMatches(type, fsPath)
+ // any of the following options is considered a good match
+ isMixedContentOrBundle(type) ||
390
+ suffixMatches(type, fsPath) ||
391
+ childSuffixMatches(type, fsPath) ||
392
+ legacySuffixMatches(type, fsPath)
393
);
394
};
395
0 commit comments