-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
enhancementNew feature or requestNew feature or requestjavascript-sdkRelates to the CashScript JavaScript SDKRelates to the CashScript JavaScript SDK
Milestone
Description
now it gives type hints without the aliases for the different arguments, and gives all the union types which makes everything hard to read:
transfer: (functionParameters_0: string | Uint8Array<ArrayBufferLike> | SignatureTemplate) => Unlocker
spend: (functionParameters_0: string | Uint8Array<ArrayBufferLike>, functionParameters_1: string | Uint8Array<ArrayBufferLike> | SignatureTemplate) => Unlocker
where we would want something like:
transfer: (recipientSig: SignatureType) => Unlocker
spend: (pk: PubKeyType, sig: SignatureType) => Unlocker
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestjavascript-sdkRelates to the CashScript JavaScript SDKRelates to the CashScript JavaScript SDK