Skip to content

Commit 9e8345c

Browse files
committedJun 20, 2024··
fix: declaration merging
1 parent 02c38c2 commit 9e8345c

File tree

5 files changed

+208
-396
lines changed

5 files changed

+208
-396
lines changed
 

‎.changeset/big-houses-tickle.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wagmi/core": patch
3+
---
4+
5+
Switched `Register` to `interface` to fix declaration merging.

‎.github/workflows/verify.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
timeout-minutes: 5
6565
strategy:
6666
matrix:
67-
typescript-version: ['5.0.4', '5.1.6', '5.2.2', '5.3.3', '5.4.5']
67+
typescript-version: ['5.0.4', '5.1.6', '5.2.2', '5.3.3', '5.4.5', '5.5.2']
6868
viem-version: ['2.9.31', 'latest']
6969

7070
steps:

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"publint": "^0.2.7",
5959
"sherif": "^0.8.4",
6060
"simple-git-hooks": "^2.11.1",
61-
"typescript": "5.4.5",
61+
"typescript": "5.5.2",
6262
"viem": "2.9.31",
6363
"vitest": "^1.6.0"
6464
},

‎packages/core/src/types/register.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Config } from '../createConfig.js'
22

3-
// biome-ignore lint/complexity/noBannedTypes:
4-
export type Register = {}
3+
// biome-ignore lint/suspicious/noEmptyInterface: <explanation>
4+
export interface Register {}
55
export type ResolvedRegister = {
66
config: Register extends { config: infer config extends Config }
77
? config

‎pnpm-lock.yaml

+199-392
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.