Open microbecode opened 1 year ago
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch eth-permit@0.2.3 for the project I'm working on.
eth-permit@0.2.3
Please consider exporting the interface ERC2612PermitMessage. It would make it easier to strongly-type TypeScript references.
ERC2612PermitMessage
Here is the diff that solved my problem:
diff --git a/node_modules/eth-permit/dist/eth-permit.d.ts b/node_modules/eth-permit/dist/eth-permit.d.ts index 73dc998..a28e9c7 100644 --- a/node_modules/eth-permit/dist/eth-permit.d.ts +++ b/node_modules/eth-permit/dist/eth-permit.d.ts @@ -6,7 +6,7 @@ interface DaiPermitMessage { expiry: number | string; allowed?: boolean; } -interface ERC2612PermitMessage { +export interface ERC2612PermitMessage { owner: string; spender: string; value: number | string;
This issue body was partially generated by patch-package.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
eth-permit@0.2.3
for the project I'm working on.Please consider exporting the interface
ERC2612PermitMessage
. It would make it easier to strongly-type TypeScript references.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.