Skip to content

Commit fb3c4a8

Browse files
committed
fix json read cache
1 parent 9a3c328 commit fb3c4a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/parser.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1979,6 +1979,7 @@ namespace Parser {
19791979
const text = sys.readFile(resolvedPath);
19801980
if (text) {
19811981
json = JSON.parse(text);
1982+
if (json) { tsPlusExternalTypeCache.set(resolvedPath, json) }
19821983
}
19831984
}
19841985
if (!json) return;

0 commit comments

Comments
 (0)