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

Add npm/big-integer #379

Merged
merged 1 commit into from
May 1, 2016
Merged

Add npm/big-integer #379

merged 1 commit into from
May 1, 2016

Conversation

demurgos
Copy link
Contributor

Typings URL: https://github.com/Demurgos/typed-big-integer

Questions (for new typings):

  • Does the README explain the purpose and a link to the typed source?
  • Do the typings follow the source structure?
  • Are they correctly external or ambient modules?

Notes:

  • big-integer defines "prestored" values as constants for numbers from -999 to 999. Currently I defined these constants by generating the whole sequence, I'm not sure if there is a smarter way to do it. (I'm not even sure if Typescript recognizes it correctly, it does not complain when the number is in the range, but it does not complain either when the number is outside of the range - and I don't get auto-completion with WebStorm).
  • The operator + relying on valueOf does not work with Typescript yet. Related issue: Allow wrapped values to be used in place of primitives. microsoft/TypeScript#2361

@blakeembrey blakeembrey merged commit 0e3262a into typings:master May 1, 2016
@demurgos demurgos deleted the big-integer branch February 11, 2017 22:49
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