mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 06:50:01 +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,13 +1,13 @@
|
||||
// automatically generated by the FlatBuffers compiler, do not modify
|
||||
export { AdvancedFeatures } from './reflection/advanced-features.js';
|
||||
export { BaseType } from './reflection/base-type.js';
|
||||
export { Enum } from './reflection/enum.js';
|
||||
export { EnumVal } from './reflection/enum-val.js';
|
||||
export { Field } from './reflection/field.js';
|
||||
export { KeyValue } from './reflection/key-value.js';
|
||||
export { Enum, EnumT } from './reflection/enum.js';
|
||||
export { EnumVal, EnumValT } from './reflection/enum-val.js';
|
||||
export { Field, FieldT } from './reflection/field.js';
|
||||
export { KeyValue, KeyValueT } from './reflection/key-value.js';
|
||||
export { Object_ } from './reflection/object.js';
|
||||
export { RPCCall } from './reflection/rpccall.js';
|
||||
export { Schema } from './reflection/schema.js';
|
||||
export { SchemaFile } from './reflection/schema-file.js';
|
||||
export { Service } from './reflection/service.js';
|
||||
export { Type } from './reflection/type.js';
|
||||
export { RPCCall, RPCCallT } from './reflection/rpccall.js';
|
||||
export { Schema, SchemaT } from './reflection/schema.js';
|
||||
export { SchemaFile, SchemaFileT } from './reflection/schema-file.js';
|
||||
export { Service, ServiceT } from './reflection/service.js';
|
||||
export { Type, TypeT } from './reflection/type.js';
|
||||
|
||||
Reference in New Issue
Block a user