mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 05:10:00 +00:00
Fix FlexBuffers JS/TS bug https://github.com/google/flatbuffers/issues/6934 (#7434)
Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -157,7 +157,7 @@ export class Reference {
|
||||
} else {
|
||||
this._length = 1;
|
||||
}
|
||||
return this._length;
|
||||
return Number(this._length);
|
||||
}
|
||||
|
||||
toObject(): unknown {
|
||||
|
||||
Reference in New Issue
Block a user