具体错误如下:
ERROR in F:\os\react\projects\typescript-webpack-react-antd\node_modules\redux-thunk\index.d.ts
(8,20): error TS2428: All declarations of an interface must have identical type parameters.
ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\redux\redux.d.ts
(21,19): error TS2314: Generic type 'Dispatch' requires 1 type argument(s).
ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\redux\redux.d.ts
(27,19): error TS2314: Generic type 'Dispatch' requires 1 type argument(s).
ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\redux\redux.d.ts
(44,65): error TS2314: Generic type 'Dispatch' requires 1 type argument(s).
ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\react-redux\react-redux.d.ts
(64,16): error TS2314: Generic type 'Dispatch' requires 1 type argument(s).
webpack: Failed to compile.
具体错误如下: ERROR in F:\os\react\projects\typescript-webpack-react-antd\node_modules\redux-thunk\index.d.ts (8,20): error TS2428: All declarations of an interface must have identical type parameters.
ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\redux\redux.d.ts (21,19): error TS2314: Generic type 'Dispatch
' requires 1 type argument(s).ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\redux\redux.d.ts (27,19): error TS2314: Generic type 'Dispatch
' requires 1 type argument(s).ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\redux\redux.d.ts (44,65): error TS2314: Generic type 'Dispatch
' requires 1 type argument(s).ERROR in F:\os\react\projects\typescript-webpack-react-antd\www\typings\react-redux\react-redux.d.ts (64,16): error TS2314: Generic type 'Dispatch
' requires 1 type argument(s). webpack: Failed to compile.