I updated my application to the latest version of Angular 4 (beta-8). However, I keep the following error:
@angular\core\src\change_detection\differs\iterable_differs.d.ts:14: TS2304 Cannot find name 'Iterable'
I looked through the change log and found:
Now, to correctly compile Angular applications, an Iterable<T> definition is required. Iterable<T> support is not required at run time, but an Iterable<T> type definition must be available.
What should I use as an Iterable definition here?
EDIT:
tsconfig.json
"compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators":true, "noImplicitAny":false, "suppressImplicitAnyIndexErrors":true, "noFallthroughCasesInSwitch":true, "noImplicitReturns":true, "outDir": "./target/ts" }
source share