mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Updated flatbuffers to 1.9
This commit is contained in:
Vendored
+7
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for flatbuffers 1.6
|
||||
// Type definitions for flatbuffers 1.9
|
||||
// Project: http://google.github.io/flatbuffers/index.html
|
||||
// Definitions by: Kamil Rojewski <kamil.rojewski@gmail.com>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -16,7 +16,7 @@ declare namespace flatbuffers {
|
||||
* }}
|
||||
*/
|
||||
interface Table {
|
||||
bb: ByteBuffer;
|
||||
bb: ByteBuffer|null;
|
||||
bb_pos: number;
|
||||
}
|
||||
|
||||
@@ -552,6 +552,11 @@ declare namespace flatbuffers {
|
||||
*/
|
||||
writeFloat64(offset: number, value: number): void;
|
||||
|
||||
/**
|
||||
* @returns {string}
|
||||
*/
|
||||
getBufferIdentifier(): string;
|
||||
|
||||
/**
|
||||
* Look up a field in the vtable, return an offset into the object, or 0 if the
|
||||
* field is not present.
|
||||
|
||||
Reference in New Issue
Block a user