diff --git a/types/react-redux/index.d.ts b/types/react-redux/index.d.ts index 7447c1efa3..e33de8c1a7 100644 --- a/types/react-redux/index.d.ts +++ b/types/react-redux/index.d.ts @@ -41,8 +41,8 @@ import { Store } from 'redux'; -// Diff / Omit taken from https://github.com/Microsoft/TypeScript/issues/12215#issuecomment-311923766 -type Omit = Pick; +// Omit taken from https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html +type Omit = Pick>; export interface DispatchProp { dispatch: Dispatch;