https://stackblitz.com/edit/vitejs-vite-ccwqlo?file=src%2Fexample.ts
Why do the diagnostic results from getSemanticDiagnostics not differentiate between files, is this a bug?
If it's not a bug, I would like to obtain diagnostics that do not include information about duplicate definitions. How should I proceed to use getSemanticDiagnostics properly?
#tsserver getSemanticDiagnostics always return global diagnostics with no associated locat
11 messages · Page 1 of 1 (latest)
!helpers
like this?
console.log(env.languageService.getSemanticDiagnostics('/index.ts'));
console.log(env.languageService.getSemanticDiagnostics('/index.ts'));
When I checked the console, I saw that this was not progressing
im pretty sure its cached
Do you know how to avoid caching