Angular4 ¿Qué definición de Iterable debo usar?
He actualizado mi aplicación a la última versión de Angular 4 (beta-8). Sin embargo, sigo teniendo el siguiente error:
@angular\core\src\change_detection\differs\iterable_differs.d.ts:14: TS2304 Cannot find name 'Iterable'
Busqué el registro de cambios y encontré:
Una definición deIterable<T>
ahora se requiere para compilar correctamente aplicaciones angulares. Apoyo paraIterable<T>
no se requiere en tiempo de ejecución pero una definición de tipoIterable<T>
debe estar disponible.
¿Qué debo usar como definición Iterable aquí?
EDITAR:
tsconfig.json
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
/* for reading your ts source while debugging from a browser */
"sourceMap": true,
/* the following two settings are required for angular2 annotations to work*/
"emitDecoratorMetadata": true,
"experimentalDecorators":true,
/* noImplicitAny when you want your typescript to be fully typed */
"noImplicitAny":false,
"suppressImplicitAnyIndexErrors":true,
"noFallthroughCasesInSwitch":true,
"noImplicitReturns":true,
"outDir": "./target/ts"
}