Repository navigation
Commit e47d0ce
authored
fix(core): add tsconfig so global generator types resolve (#985)
Without a tsconfig, the editor's inferred project never included
generators/types.d.ts, so the global GeneratorMetadata/Generate/
ProcessChunk types were unresolved in every generator's types.d.ts
(reported at orama-db/types.d.ts:27).
Also fix the Position import in metadata/types.d.ts: @types/mdast v4
no longer exports it, so import it from unist instead. Explicitly set
"types": ["node"] since TypeScript 6.0 defaults types to [].1 parent 66899e3 commit e47d0ce
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments