-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typings don't compile #59
Comments
I'm experiencing the same issue. I believe it's impossible to distribute a TS package that has this one as a dependency. |
Yes it is impossible. @danfinlay is it possible to get a fix for this? I notice in general the typings do not include anything under |
Sorry this has not been a high priority for me at the moment, I'll get to it when I can, or someone else can submit a PR for review. |
@danfinlay Its not possible to use the npm with typescript. Can u please review the PR? |
Make EIP712Domain non optional. Fix: #59
I merged the open PR, fixed one of the two reported issues. Published as |
@danfinlay thanks for the merge. As for the 2nd issue @mrwillis , wouldn't it be solved using a ITypedValue[] , defining ITypedValue[] as array of string, or number ?
|
I'm willing to merge a PR either removing |
Fine. Pending a proper typescript conversion, since I haven't had time to make sure this is all working right, and things clearly aren't, I've removed typedefs in I'm open to someone else doing the typescript conversion, and I may add a small gitcoin bounty to encourage it, and anyone else can too if the would value that feature. |
Opened issue for actually converting to Typescript: #70 |
There are two issues
I don't recall
EIP712Domain
being optional in the Types in the spec.Also
should also allow for
string[]
andnumber[]
The text was updated successfully, but these errors were encountered: