Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: codecov/codecov-action@v2

lint:
name: Run ESLint
name: Run ESLint & TypeScript compiler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -59,3 +59,4 @@ jobs:
cache: yarn
- run: yarn install
- run: yarn lint
- run: yarn typecheck
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"precommit": "lint-staged",
"test": "jest --color=true",
"test:coverage": "yarn test --coverage",
"test:watch": "yarn test --watch"
"test:watch": "yarn test --watch",
"typecheck": "tsc --noEmit types/index.d.ts"
},
"keywords": [
"jest",
Expand Down Expand Up @@ -50,7 +51,8 @@
"jest-watch-typeahead": "^1.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.2",
"pretty-format": "^27.2.4"
"pretty-format": "^27.2.4",
"typescript": "^4.4.3"
},
"dependencies": {
"expect": "^26.6.2",
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare namespace jest {
// noinspection JSUnusedGlobalSymbols
interface Matchers<R> {
interface Matchers<R, T> {
/**
* Note: Currently unimplemented
* Passing assertion
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4647,6 +4647,11 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@^4.4.3:
version "4.4.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324"
integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==

unbox-primitive@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471"
Expand Down