mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 12:43:24 +00:00
* TS/JS: Export object based classes on entry
Along with the non object ones, for consistency. This is a regression
introduced recently.
Before:
`export { UpdateSettingsRequest } from './worker/update-settings-request.js';`
Now:
`export { UpdateSettingsRequest, UpdateSettingsRequestT } from './worker/update-settings-request.js';`
* only export object based classes for structs
Enums are not elegible.
---------
Co-authored-by: Björn Harrtell <bjornharrtell@users.noreply.github.com>
Co-authored-by: Derek Bailey <derekbailey@google.com>
7 lines
406 B
TypeScript
7 lines
406 B
TypeScript
export { ArrayStruct, ArrayStructT } from './example/array-struct.js';
|
|
export { ArrayTable, ArrayTableT } from './example/array-table.js';
|
|
export { InnerStruct, InnerStructT } from './example/inner-struct.js';
|
|
export { NestedStruct, NestedStructT } from './example/nested-struct.js';
|
|
export { OuterStruct, OuterStructT } from './example/outer-struct.js';
|
|
export { TestEnum } from './example/test-enum.js';
|