Skip to content

Commit 9781b02

Browse files
committed
More changes
1 parent a7c7c61 commit 9781b02

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export default [
5858
globals: {
5959
...globals.commonjs,
6060
...globals.node,
61+
...globals.browser,
6162
},
62-
6363
ecmaVersion: 12,
6464
sourceType: "module",
6565
},

packages/sdk/src/shared/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import type {
66
import type { V1Component } from "./component";
77
export * from "./component";
88

9+
type RequestInit = globalThis.RequestInit;
10+
911
/**
1012
* Options for creating a server-side client.
1113
* This is used to configure the BackendClient instance.

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"composite": true,
66
"baseUrl": ".",
77
"rootDir": ".",
8-
"moduleResolution": "node"
8+
"moduleResolution": "node",
9+
"lib": ["es2020", "dom"]
910
},
1011
"exclude": [
1112
"components"
@@ -2761,4 +2762,4 @@
27612762
"path": "components/diffchecker"
27622763
}
27632764
]
2764-
}
2765+
}

0 commit comments

Comments
 (0)