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

Migrate to TypeScript and add type definitions #1

Closed
wants to merge 4 commits into from

Conversation

jstarry
Copy link
Owner

@jstarry jstarry commented Jul 8, 2021

Fixes pabigot#30

Changes

  • Added type definitions to published npm package
  • Added prepare npm script for building TypeScript source files
  • Bumped version to 3.0.0 to release new type definitions
  • Updated eslint config to lint typescript source files (excluded test files from linting temporarily)
  • Renamed BufferLayout.const to BufferLayout.constant

@jstarry jstarry force-pushed the uint8array branch 12 times, most recently from 4d5c683 to 0ccc868 Compare July 10, 2021 20:39
@iltumio
Copy link

iltumio commented Aug 23, 2021

hello @jstarry is this plan to be merged soon?

@jstarry
Copy link
Owner Author

jstarry commented Aug 25, 2021

hello @jstarry is this plan to be merged soon?

I don't have any immediate plans but I would like to upstream this change. If you have the time to help and shepherd it through, feel free!

@jstarry
Copy link
Owner Author

jstarry commented Oct 19, 2021

@iltumio just a heads up that Solana maintains a separate fork that you can use for TypeScript types until those changes are upstreamed into pabigot's repo. You can find it here: https://github.com/solana-labs/buffer-layout

@jstarry jstarry closed this Dec 18, 2023
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