mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 14:14:11 +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 HandFan {
|
||||
export class HandFan implements flatbuffers.IUnpackableObject<HandFanT> {
|
||||
bb: flatbuffers.ByteBuffer|null = null;
|
||||
bb_pos = 0;
|
||||
__init(i:number, bb:flatbuffers.ByteBuffer):HandFan {
|
||||
@@ -73,7 +73,7 @@ unpackTo(_o: HandFanT): void {
|
||||
}
|
||||
}
|
||||
|
||||
export class HandFanT {
|
||||
export class HandFanT implements flatbuffers.IGeneratedObject {
|
||||
constructor(
|
||||
public length: number = 0
|
||||
){}
|
||||
|
||||
Reference in New Issue
Block a user