Skip to content

feat: improved typing for recovery musig#36

Merged
pranavjain97 merged 1 commit intomasterfrom
WP-4769
Jun 20, 2025
Merged

feat: improved typing for recovery musig#36
pranavjain97 merged 1 commit intomasterfrom
WP-4769

Conversation

@mtexeira-simtlix
Copy link
Copy Markdown
Contributor

Ticket: WP-4769

Description: improved typing and removed most of the any (untyped) regarding to recovery on multisig.

backupPub: t.string,
apiKey: t.string,
// TODO: best typing for this, they come from sdk TS types
unsignedSweepPrebuildTx: t.any,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pranavjain97 this one remains untyped by the time, we discussed a couple of solutions with Mohammad but no one seems to work and trying to pass the record with string/unknown raises a conflict with api-ts routes.
We could follow up later in case that some of us discover first how to type this kind of objects that contains a few known fields and a group of anything else.

@pranavjain97 pranavjain97 merged commit 0b883e1 into master Jun 20, 2025
3 checks passed
@pranavjain97 pranavjain97 deleted the WP-4769 branch June 20, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants