yedegesong / typescript-webpack-react-antd

技术体系typescript + webpack + react (采用多入口打包模式)
43 stars 10 forks source link

npm run dev时报错 #2

Open fjpan2023 opened 7 years ago

fjpan2023 commented 7 years ago

具体错误如下: 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.