mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-24 12:46: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:
@@ -10,5 +10,8 @@ export type Table = {
|
||||
|
||||
export interface IGeneratedObject {
|
||||
pack(builder:Builder): Offset
|
||||
unpack(): IGeneratedObject
|
||||
}
|
||||
|
||||
export interface IUnpackableObject<T> {
|
||||
unpack(): T
|
||||
}
|
||||
Reference in New Issue
Block a user