ChainSafe / fixed-sized-numbers-ts

Fixed Sized BigNumbers in TypeScript
2 stars 4 forks source link

Create Int and Uint super-types #13

Open ansermino opened 5 years ago

ansermino commented 5 years ago

As we experienced with the test suite, type guards that require any Int or any Uint are currently not possible. @JonathanLorimer had some good suggestions to be found here.

We should keep in mind that we want the ability to add new types to be fairly simple, so laborious solutions should be avoided if possible.