Skip to content

Commit

Permalink
Re-enable TypeScript tests (#3770)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored May 11, 2020
1 parent b8a6da5 commit 1766b93
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
18 changes: 15 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.27.0",
"rxjs": "^6.5.5",
"typescript": "^3.8.3"
"typescript": "^3.8.3",
"typings-tester": "^0.3.2"
},
"npmName": "redux",
"npmFileMap": [
Expand Down
1 change: 1 addition & 0 deletions src/types/store.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Action, AnyAction } from './actions'
import { Reducer } from './reducers'
import '../utils/symbol-observable'

/**
* Extend the state
Expand Down
7 changes: 7 additions & 0 deletions test/typescript.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { checkDirectory } from 'typings-tester'

describe('TypeScript definitions', function () {
it('should compile against index.d.ts', () => {
checkDirectory(__dirname + '/typescript')
})
})

0 comments on commit 1766b93

Please sign in to comment.