Skip to content

Commit afd71d8

Browse files
authored
Be more selective about which typescript d.ts files we include (microsoft#167477)
Be more selective about which d.ts files we include
1 parent 9bd4e65 commit afd71d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/.moduleignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,13 @@ prebuild-install/**/*
145145
**/CONTRIBUTING.md
146146

147147
**/*.ts
148-
!typescript/**/*.d.ts
149148

150149
# Exclude TS files that aren't needed by TS extension
151150
typescript/lib/tsc.js
152151
typescript/lib/typescriptServices.js
153152
typescript/lib/tsserverlibrary.js
153+
# We still need to include stdlib d.ts
154+
!typescript/lib/lib.*.d.ts
154155

155156
jschardet/index.js
156157
jschardet/src/**

0 commit comments

Comments
 (0)