Skip to content

Commit adfb14c

Browse files
committed
don't include DOM and other types
1 parent 61bebcb commit adfb14c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ts-autocomplete/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function getVirtualLanguageService(): {
2222
allowJs: true,
2323
moduleResolution: ts.ModuleResolutionKind.NodeNext,
2424
types: ['node'],
25+
lib: ['es2019'],
2526
//typeRoots: [],
2627
allowImportingTsExtensions: true,
2728
};

0 commit comments

Comments
 (0)