[JS] Add ".js" suffix to all import statements to generate a browser compatible mjs version. (#7086)

This commit is contained in:
Timo Sturm
2022-02-08 21:21:20 +01:00
committed by GitHub
parent c85fb690f4
commit e910bddbcc
11 changed files with 44 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
import { BitWidth } from './bit-width'
import { BitWidth } from './bit-width.js'
export function toByteWidth(bitWidth: BitWidth): number {
return 1 << bitWidth;