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

Added new TypeScript description file. #27

Merged
merged 1 commit into from Nov 15, 2018
Merged

Conversation

kabua
Copy link
Contributor

@kabua kabua commented May 31, 2018

Here is the definition file we created. If you like great, if not that's okay too. However, if you see any issues with please let us know. Thanks.

@infusion
Copy link
Owner

That looks great, thanks for your work! I never worked with TypeScript, so a silly question: Does the implementation work with ReadOnlyBitSet and the current BitSet.js implementation?

@infusion
Copy link
Owner

infusion commented Jun 1, 2018

And does the def file not need an entry in the package.json file?

@kabua
Copy link
Contributor Author

kabua commented Jun 4, 2018

In TS the 'shape' is what is important not the inheritance structure. Therefore, the ReadOnlyBitSet should have the right 'shape' as the BitSet. However, we haven't tested it since I just added the interface a few days ago. If you could create a set of unit tests for it that would be great!

@infusion infusion merged commit 52394c3 into infusion:master Nov 15, 2018
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.

None yet

2 participants