File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- import { ExportedFunctions } from "./types" ;
1
+ import { ExportedFunctions } from "./types.js " ;
2
2
3
3
/// Memory lifetime of closures in Swift are managed by Swift side
4
4
export class SwiftClosureDeallocator {
Original file line number Diff line number Diff line change 1
- import { SwiftClosureDeallocator } from "./closure-heap" ;
1
+ import { SwiftClosureDeallocator } from "./closure-heap.js " ;
2
2
import {
3
3
LibraryFeatures ,
4
4
ExportedFunctions ,
5
5
ref ,
6
6
pointer ,
7
7
TypedArray ,
8
8
ImportedFunctions ,
9
- } from "./types" ;
10
- import * as JSValue from "./js-value" ;
11
- import { Memory } from "./memory" ;
9
+ } from "./types.js " ;
10
+ import * as JSValue from "./js-value.js " ;
11
+ import { Memory } from "./memory.js " ;
12
12
13
13
export class SwiftRuntime {
14
14
private _instance : WebAssembly . Instance | null ;
Original file line number Diff line number Diff line change 1
- import { SwiftRuntimeHeap } from "./object-heap" ;
2
- import { pointer } from "./types" ;
1
+ import { SwiftRuntimeHeap } from "./object-heap.js " ;
2
+ import { pointer } from "./types.js " ;
3
3
4
4
export class Memory {
5
5
readonly rawMemory : WebAssembly . Memory ;
Original file line number Diff line number Diff line change 1
- import { globalVariable } from "./find-global" ;
2
- import { ref } from "./types" ;
1
+ import { globalVariable } from "./find-global.js " ;
2
+ import { ref } from "./types.js " ;
3
3
4
4
type SwiftRuntimeHeapEntry = {
5
5
id : number ;
Original file line number Diff line number Diff line change 1
- import * as JSValue from "./js-value" ;
1
+ import * as JSValue from "./js-value.js " ;
2
2
3
3
export type ref = number ;
4
4
export type pointer = number ;
You can’t perform that action at this time.
0 commit comments