Closed ajafff closed 4 years ago
lib/typescript.d.ts
/// <reference path="patchCreateProgram.d.ts" /> declare const TS: typeof ts; export = TS;
Gives a compiler error Cannot find name 'ts'. and causes intellisense to not work. Maybe you could use the newer declare const TS: import('typescript'); syntax added in typescript@2.9
Cannot find name 'ts'.
declare const TS: import('typescript');
fixed
lib/typescript.d.ts
Gives a compiler error
Cannot find name 'ts'.
and causes intellisense to not work. Maybe you could use the newerdeclare const TS: import('typescript');
syntax added in typescript@2.9