Commit dc451b0
committed
Fix for microsoft#2268 createDiagnosticCollection should be @internal
DiagnosticsCollection interface is marked @internal in [src/compiler/types.ts](https://github.com/Microsoft/TypeScript/blob/c6cd57d18c85e59b2fbe9d316725748a0af8ac2b/src/compiler/types.ts#L1761), so this should be @internal too.
Otherwise it causes compilation errors whenever the generated type definitions for LS is used.
See microsoft#2268 for more details.1 parent 848bc87 commit dc451b0
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1207 | 1207 | | |
1208 | 1208 | | |
1209 | 1209 | | |
| 1210 | + | |
1210 | 1211 | | |
1211 | 1212 | | |
1212 | 1213 | | |
| |||
1336 | 1337 | | |
1337 | 1338 | | |
1338 | 1339 | | |
1339 | | - | |
| 1340 | + | |
0 commit comments