mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 11:10:02 +00:00
TS/JS: Export object based classes on entry (#7822)
* 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>
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
// automatically generated by the FlatBuffers compiler, do not modify
|
||||
export { Ability } from './example/ability.js';
|
||||
export { Ability, AbilityT } from './example/ability.js';
|
||||
export { Any } from './example/any.js';
|
||||
export { AnyAmbiguousAliases } from './example/any-ambiguous-aliases.js';
|
||||
export { AnyUniqueAliases } from './example/any-unique-aliases.js';
|
||||
export { Color } from './example/color.js';
|
||||
export { LongEnum } from './example/long-enum.js';
|
||||
export { Monster } from './example/monster.js';
|
||||
export { Monster, MonsterT } from './example/monster.js';
|
||||
export { Race } from './example/race.js';
|
||||
export { Referrable } from './example/referrable.js';
|
||||
export { Stat } from './example/stat.js';
|
||||
export { StructOfStructs } from './example/struct-of-structs.js';
|
||||
export { StructOfStructsOfStructs } from './example/struct-of-structs-of-structs.js';
|
||||
export { Test } from './example/test.js';
|
||||
export { TestSimpleTableWithEnum } from './example/test-simple-table-with-enum.js';
|
||||
export { TypeAliases } from './example/type-aliases.js';
|
||||
export { Vec3 } from './example/vec3.js';
|
||||
export { Referrable, ReferrableT } from './example/referrable.js';
|
||||
export { Stat, StatT } from './example/stat.js';
|
||||
export { StructOfStructs, StructOfStructsT } from './example/struct-of-structs.js';
|
||||
export { StructOfStructsOfStructs, StructOfStructsOfStructsT } from './example/struct-of-structs-of-structs.js';
|
||||
export { Test, TestT } from './example/test.js';
|
||||
export { TestSimpleTableWithEnum, TestSimpleTableWithEnumT } from './example/test-simple-table-with-enum.js';
|
||||
export { TypeAliases, TypeAliasesT } from './example/type-aliases.js';
|
||||
export { Vec3, Vec3T } from './example/vec3.js';
|
||||
|
||||
Reference in New Issue
Block a user