forked from BigfootDev/flatbuffers
[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