mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 09:52:02 +00:00
[TS] Make strict compliant and improve typings (#7549)
* [TS] Make strict compliant and improve typings * clang-format * Code gen harmonize Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import * as flatbuffers from 'flatbuffers';
|
||||
|
||||
|
||||
|
||||
export class Referrable {
|
||||
export class Referrable implements flatbuffers.IUnpackableObject<ReferrableT> {
|
||||
bb: flatbuffers.ByteBuffer|null = null;
|
||||
bb_pos = 0;
|
||||
__init(i:number, bb:flatbuffers.ByteBuffer):Referrable {
|
||||
@@ -81,7 +81,7 @@ unpackTo(_o: ReferrableT): void {
|
||||
}
|
||||
}
|
||||
|
||||
export class ReferrableT {
|
||||
export class ReferrableT implements flatbuffers.IGeneratedObject {
|
||||
constructor(
|
||||
public id: bigint = BigInt('0')
|
||||
){}
|
||||
|
||||
Reference in New Issue
Block a user