Generated newCtorFromCode
code
parameter type is inaccurate
#786
Labels
javascript
Pull requests that update Javascript code
Problem
TransactionBuilder
constructor is expectingUint8Array | ArrayBufferLike | HexString
, but generated type fornewCtorFromCode
code
parameter isUint8Array | Buffer
.Steps
sails-js-cli
newCtorFromCode
method will complain -No overload matches this call
Possible Solution
Edit types in generateProgramConstructor to match types in TransactionBuilder.
Notes
No response
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: