mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-18 01:06:31 +00:00
[JS] Add ".js" suffix to all import statements to generate a browser compatible mjs version. (#7086)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ByteBuffer } from "./byte-buffer"
|
||||
import { SIZEOF_SHORT, SIZE_PREFIX_LENGTH, SIZEOF_INT, FILE_IDENTIFIER_LENGTH } from "./constants"
|
||||
import { Offset, IGeneratedObject } from "./types"
|
||||
import { ByteBuffer } from "./byte-buffer.js"
|
||||
import { SIZEOF_SHORT, SIZE_PREFIX_LENGTH, SIZEOF_INT, FILE_IDENTIFIER_LENGTH } from "./constants.js"
|
||||
import { Offset, IGeneratedObject } from "./types.js"
|
||||
|
||||
export class Builder {
|
||||
private bb: ByteBuffer
|
||||
|
||||
Reference in New Issue
Block a user