Updated flatbuffers to 1.9

This commit is contained in:
Kamil Rojewski
2018-06-04 08:39:33 +02:00
parent db68c68660
commit 9d4c78e3a6
+7 -2
View File
@@ -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.