clbond / ng2-redux-form

Connect Angular 2 forms to Redux stores
17 stars 7 forks source link

Type 'Iterable<any>' is not an array type or a string type. #9

Closed frederikaalund closed 7 years ago

frederikaalund commented 7 years ago

I get the following error when importing NgReduxForms:

ERROR in [default] /Users/frederikaalund/Projects/lab/node_modules/ng2-redux-form/source/connect-array.ts:151:32 
Type 'Iterable<any>' is not an array type or a string type.

ERROR in [default] /Users/frederikaalund/Projects/lab/node_modules/ng2-redux-form/source/connect-array.ts:247:26 
Type 'Iterable<T>' is not an array type or a string type.

ng2-redux-form 1.0.17, Typescript 2.0.3, Angular 2.0.1.

clbond commented 7 years ago

This is fixed. The package has been upgraded to TypeScript 2 and Webpack 2. Thank you for your report!