Skip to content

Commit

Permalink
feat: update ts version and abi.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rin-st committed Jul 15, 2024
1 parent b8cbec6 commit 1528a71
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 27 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"prettier": "^3.3.2",
"tailwindcss": "^3.4.3",
"type-fest": "^4.6.0",
"typescript": "5.1.6",
"typescript": "5.5.3",
"vercel": "^32.4.1"
}
}
18 changes: 1 addition & 17 deletions packages/nextjs/types/abitype/abi.d.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,7 @@
import "abitype";
import "viem";
import "wagmi";

type AddressType = string;

declare module "abitype" {
export interface Register {
AddressType: AddressType;
}
}

declare module "viem/node_modules/abitype" {
export interface Register {
AddressType: AddressType;
}
}

declare module "wagmi/node_modules/abitype" {
export interface Register {
AddressType: AddressType;
}
export type Address = AddressType;
}
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,7 @@ __metadata:
react-hot-toast: ^2.4.0
tailwindcss: ^3.4.3
type-fest: ^4.6.0
typescript: 5.1.6
typescript: 5.5.3
use-debounce: ^8.0.4
usehooks-ts: ^2.13.0
vercel: ^32.4.1
Expand Down Expand Up @@ -14047,13 +14047,13 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:5.1.6":
version: 5.1.6
resolution: "typescript@npm:5.1.6"
"typescript@npm:5.5.3":
version: 5.5.3
resolution: "typescript@npm:5.5.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: b2f2c35096035fe1f5facd1e38922ccb8558996331405eb00a5111cc948b2e733163cc22fab5db46992aba7dd520fff637f2c1df4996ff0e134e77d3249a7350
checksum: 4b4f14313484d5c86064d04ba892544801fa551f5cf72719b540b498056fec7fc192d0bbdb2ba1448e759b1548769956da9e43e7c16781e8d8856787b0575004
languageName: node
linkType: hard

Expand All @@ -14077,13 +14077,13 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@5.1.6#~builtin<compat/typescript>":
version: 5.1.6
resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin<compat/typescript>::version=5.1.6&hash=a1c5e5"
"typescript@patch:typescript@5.5.3#~builtin<compat/typescript>":
version: 5.5.3
resolution: "typescript@patch:typescript@npm%3A5.5.3#~builtin<compat/typescript>::version=5.5.3&hash=a1c5e5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 21e88b0a0c0226f9cb9fd25b9626fb05b4c0f3fddac521844a13e1f30beb8f14e90bd409a9ac43c812c5946d714d6e0dee12d5d02dfc1c562c5aacfa1f49b606
checksum: 6853be4607706cc1ad2f16047cf1cd72d39f79acd5f9716e1d23bc0e462c7f59be7458fe58a21665e7657a05433d7ab8419d093a5a4bd5f3a33f879b35d2769b
languageName: node
linkType: hard

Expand Down

0 comments on commit 1528a71

Please sign in to comment.