Skip to content
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

refactor: use type assertion for DecodedScript on undecoded output scripts #16

Open
andreabadesso opened this issue Jul 15, 2021 · 0 comments

Comments

@andreabadesso
Copy link
Collaborator

If every member of this type is optional, why not use Partial? We could also use DecodedScript | {} but then we would need to make type assertions where needed (from typescript issues).

Originally posted by @r4mmer in #15 (comment)

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

No branches or pull requests

1 participant