Commit bcd3d76
authored
The docs build started failing on master after the TypeScript v6 upgrade
(#425) with:
```
index.d.ts:147:24 - error TS2591: Cannot find name 'Buffer'.
```
TS6 no longer accepts an unresolved `Buffer` global. The `docs` script
ran typedoc without a tsconfig, so `@types/node` (already a
devDependency) was not picked up.
Adds a minimal `impit-node/tsconfig.docs.json` that pins `types:
["node"]` and scopes the program to `index.d.ts`, and passes it to
typedoc via `--tsconfig`. Verified locally — docs now generate without
error.
1 parent 31f5b46 commit bcd3d76
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments