mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 08:47:05 +00:00
[TS] Enum value default null (#8619)
* [TS] Enum value default null * Re-gen
This commit is contained in:
@@ -32,7 +32,7 @@ export class Movie {
|
||||
}
|
||||
charactersType(index) {
|
||||
const offset = this.bb.__offset(this.bb_pos, 8);
|
||||
return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
|
||||
return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : null;
|
||||
}
|
||||
charactersTypeLength() {
|
||||
const offset = this.bb.__offset(this.bb_pos, 8);
|
||||
|
||||
Reference in New Issue
Block a user