Skip to content

Commit

Permalink
make typescript happy
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Feb 27, 2024
1 parent 3a55cc1 commit 45b2dfa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/stake/Widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export const Widget = () => {
/>
</main>
)
}
}
3 changes: 3 additions & 0 deletions src/types/disable-viem-wagmi.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module 'wagmi' {}

declare module 'viem' {}
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@/public/*": ["./public/*"]
"@/public/*": ["./public/*"],
"viem": ["src/types/disable-viem-wagmi.d.ts"],
"wagmi": ["src/types/disable-viem-wagmi.d.ts"]
},
"plugins": [{ "name": "typescript-plugin-css-modules" }]
},
Expand Down

0 comments on commit 45b2dfa

Please sign in to comment.