Skip to content

Commit

Permalink
Update comparison methods to support BigInt
Browse files Browse the repository at this point in the history
As per jestjs/jest#8382

TypeScript 3.2+ supports BigInt with esnext target.
TypeScript 3.8+ supports it with es2020 target.

dtslint is very particular on how the `typesVersions`
should be handled, hence the code duplication.
  • Loading branch information
D4nte committed Apr 30, 2020
1 parent cc1de99 commit 7ff1b1d
Show file tree
Hide file tree
Showing 9 changed files with 5,885 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/jest/package.json
Expand Up @@ -3,5 +3,10 @@
"dependencies": {
"jest-diff": "^25.2.1",
"pretty-format": "^25.2.1"
},
"types": "index",
"typesVersions": {
">=3.8.0-0": { "*": ["ts3.8/*"] },
">=3.2.0-0": { "*": ["ts3.2/*"] }
}
}

0 comments on commit 7ff1b1d

Please sign in to comment.