Skip to content

Commit c0e3f22

Browse files
authored
Fix type issue (#19)
* chore: bump deps; fix `process` type * feat: adds nvmrc for nvm/n
1 parent 627d3a6 commit c0e3f22

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
},
3333
"homepage": "https://github.com/jspm/import-map#readme",
3434
"devDependencies": {
35-
"@swc/cli": "^0.1.62",
36-
"@swc/core": "^1.3.36",
37-
"rollup": "^2.53.3",
35+
"@swc/cli": "^0.1.65",
36+
"@swc/core": "^1.4.8",
37+
"rollup": "^2.79.1",
3838
"typescript": "^4.9.5"
3939
}
4040
}

src/url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ declare global {
44
// @ts-ignore
55
var location: any;
66
// @ts-ignore
7-
var process: any;
7+
var process: NodeJS.Process;
88
}
99

1010
export let baseUrl: URL;

0 commit comments

Comments
 (0)