Commit 8fd1766
committed
Fix TypeScript errors from terriajs-cesium workspace package
Cesium started adding `@ts-check` to their JS source files. Because
terriajs-cesium can be a yarn workspace package symlinked into node_modules,
TypeScript resolves the symlink to the real path outside node_modules and
reports errors from those files.
preserveSymlinks: true keeps the symlink path intact so TypeScript treats
the cesium source as library code and suppresses error reporting.@ts-check files1 parent a106280 commit 8fd1766
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments