Skip to content

Commit

Permalink
Fix call to getMode to include compilerOptions
Browse files Browse the repository at this point in the history
PR-URL: #30
Credit: @mattdean-digicatapult
Close: #30
Reviewed-by: @isaacs
  • Loading branch information
mattdean-digicatapult authored and isaacs committed Oct 22, 2024
1 parent a2e9aef commit bf60bdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/service/resolve-type-reference-directive-references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export const getResolveTypeReferenceDirectiveReferences = (
const name = loader.nameAndMode.getName(entry)
const mode = loader.nameAndMode.getMode(
entry,
containingSourceFile
containingSourceFile,
options
)
const key = createModeAwareCacheKey(name, mode)
let result = rtrdrInternalCache.get(key)
Expand Down

0 comments on commit bf60bdc

Please sign in to comment.