Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove getProgram

-5
-5
src/index.ts
··· 38 38 // TODO: we have to initialize a watcher for schema changes 39 39 const schema = loadSchema(info.project.getProjectName(), info.config.schema); 40 40 41 - proxy.getProgram = (): ts.Program | undefined => { 42 - console.log('getProgram'); 43 - return info.languageService.getProgram(); 44 - }; 45 - 46 41 proxy.getSemanticDiagnostics = (filename: string): ts.Diagnostic[] => { 47 42 const originalDiagnostics = info.languageService.getSemanticDiagnostics(filename) 48 43 const source = getSource(info, filename)