Skip to content

Fix wasm-wnfs issues (type annotations, putBlock signature) #35

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

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

appcypher
Copy link
Member

Summary

Getting wasm-bindgen to generate more precise type annotations for ts and fixing the putBlock signature

This PR implements the following features

  • Generate precise type annotations
  • Fix putBlock signature

Test plan (required)

  • Testing the wasm bindings.

    cd crates/wasm
    yarn playwright test

Closing issues

Fixes #33
Fixes #32

@appcypher appcypher changed the title Fix wasm-wnfs issues: Type annotations, Fix wasm-wnfs issues (type annotations, putBlock signature) Jul 8, 2022
@appcypher appcypher merged commit 6d40083 into main Jul 20, 2022
@matheus23 matheus23 deleted the appcypher/wasm-types-blockstore branch July 21, 2022 14:54
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.

Fix MemoryBlockStore putBlock return type More precise typescript types
2 participants