[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,8 +1,8 @@
import { Builder } from './builder'
import { BitWidth } from './bit-width'
import { paddingSize, uwidth, fromByteWidth } from './bit-width-util'
import { ValueType } from './value-type'
import { isInline, packedType } from './value-type-util'
import { Builder } from './builder.js'
import { BitWidth } from './bit-width.js'
import { paddingSize, uwidth, fromByteWidth } from './bit-width-util.js'
import { ValueType } from './value-type.js'
import { isInline, packedType } from './value-type-util.js'
export class StackValue {
constructor(private builder: Builder, public type: ValueType, public width: number, public value: number | boolean | null = null, public offset: number = 0) {