We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it is just about T | null | undefined vs T | undefined.
T | null | undefined
T | undefined
This is the compile error I got trying it.
Type 'IProofSpec' is not assignable to type '{ leafSpec?: { hash?: HashOp | undefined; prehashKey?: HashOp | undefined; prehashValue?: HashOp | undefined; length?: LengthOp | undefined; prefix?: Uint8Array | undefined; } | undefined; innerSpec?: { ...; } | undefined; maxDepth?: number | undefined; minDepth?: number | undefined; }'. Types of property 'leafSpec' are incompatible. Type 'ILeafOp | null | undefined' is not assignable to type '{ hash?: HashOp | undefined; prehashKey?: HashOp | undefined; prehashValue?: HashOp | undefined; length?: LengthOp | undefined; prefix?: Uint8Array | undefined; } | undefined'. Type 'null' is not assignable to type '{ hash?: HashOp | undefined; prehashKey?: HashOp | undefined; prehashValue?: HashOp | undefined; length?: LengthOp | undefined; prefix?: Uint8Array | undefined; } | undefined'. 176 proofSpecs: [iavlSpec, tendermintSpec],
The text was updated successfully, but these errors were encountered:
I will close the issue, since we removed the Typescript implementation.
Sorry, something went wrong.
No branches or pull requests
I think it is just about
T | null | undefined
vsT | undefined
.This is the compile error I got trying it.
The text was updated successfully, but these errors were encountered: