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 bigint to the primitive type #87

Merged
merged 5 commits into from
Jun 23, 2019
Merged

Conversation

9SMTM6
Copy link
Contributor

@9SMTM6 9SMTM6 commented Jun 23, 2019

Description

Added bigint to the Primitive type.

I've tested an import of the Primitive type with bigint into an project using TS 3.1.6 with default settings, and it worked - of course it didnt recognize bigint, but no syntax error on usage on other variables and it didnt break support for the other types. Thus I'm not creating another version of this package for this. But bigint support was only added in TS 3.2, which is below the required v3.1 you ask for for v3.X of this package, so make some more tests (i.e. with different tsconfig settings) at your own discretion.

Also I didnt even increase the minor version as I couldnt find any documentation on whether I should.

Note: I had to change the syntax of the node scripts slightly to make them work on my PC. The changes are in a single commit you can revert if thats an issue for you.

Also the type tests dont really seem to do much at all... In one of my experiments I have tried tsd and it worked so far, if that doesnt make too many problems with integration in the pipeline, you might want to check it out.

Related issues:

Checklist

  • I have read CONTRIBUTING.md
  • I have linked all related issues above
  • I have rebased my branch

@9SMTM6 9SMTM6 changed the title Add the '' Add bigint to the primitive type Jun 23, 2019
src/mapped-types.ts Outdated Show resolved Hide resolved
@9SMTM6 9SMTM6 mentioned this pull request Jun 23, 2019
6 tasks
@piotrwitek piotrwitek merged commit 6d1af24 into piotrwitek:master Jun 23, 2019
@piotrwitek
Copy link
Owner

Great job, thanks for contribution @9SMTM6 👍

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.

BigInt Support
2 participants