mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 07:58:05 +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,9 +1,9 @@
|
||||
// automatically generated by the FlatBuffers compiler, do not modify
|
||||
export { Attacker } from './attacker.js';
|
||||
export { BookReader } from './book-reader.js';
|
||||
export { Attacker, AttackerT } from './attacker.js';
|
||||
export { BookReader, BookReaderT } from './book-reader.js';
|
||||
export { Character } from './character.js';
|
||||
export { FallingTub } from './falling-tub.js';
|
||||
export { FallingTub, FallingTubT } from './falling-tub.js';
|
||||
export { Gadget } from './gadget.js';
|
||||
export { HandFan } from './hand-fan.js';
|
||||
export { Movie } from './movie.js';
|
||||
export { Rapunzel } from './rapunzel.js';
|
||||
export { HandFan, HandFanT } from './hand-fan.js';
|
||||
export { Movie, MovieT } from './movie.js';
|
||||
export { Rapunzel, RapunzelT } from './rapunzel.js';
|
||||
|
||||
Reference in New Issue
Block a user