Commit ed42d66
fix: Fix missing Schema and Field classes from API Docs (#390)
## What's Changed
This PR fixes an issue which causes `Schema` and `Field` to be excluded
from the [public API
docs](https://arrow.apache.org/js/current/modules/Arrow.node.html).
The root cause is that this `declare module` block causes these to
register as an exclusion. Everything else in this file is already
explicitly ignored, so the config level exclusion is not necessary.
```ts
// src/ipc/metadata/message.ts
declare module '../../schema' {
namespace Field {
export { encodeField as encode };
export { decodeField as decode };
export { fieldFromJSON as fromJSON };
}
namespace Schema {
export { encodeSchema as encode };
export { decodeSchema as decode };
export { schemaFromJSON as fromJSON };
}
}
```
Closes #181.
Co-authored-by: Kent Wu <kent@columnar.tech>1 parent f43c01d commit ed42d66
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
0 commit comments