mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 03:43:04 +00:00
[JS] Add ".js" suffix to all import statements to generate a browser compatible mjs version. (#7086)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { BitWidth } from './bit-width'
|
||||
import { BitWidth } from './bit-width.js'
|
||||
|
||||
export function toByteWidth(bitWidth: BitWidth): number {
|
||||
return 1 << bitWidth;
|
||||
|
||||
Reference in New Issue
Block a user