Commit 52a5c2f
committed
fix(docs): silence TS 6 deprecation for baseUrl in twoslash
Twoslash's virtual TS env sets baseUrl in its default compiler options,
and TS 6 errors on it. Pass `ignoreDeprecations: '6.0'` through
twoslashOptions.compilerOptions so the doc build's snippet compilation
stops failing. Also remove the unused baseUrl from docs/tsconfig.json.1 parent 628eb64 commit 52a5c2f
2 files changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments