который решил проблему, надеюсь, это поможет кому-то.
овил свое приложение до последней версии Angular 4 (бета-8). Однако я продолжаю иметь следующую ошибку:
@angular\core\src\change_detection\differs\iterable_differs.d.ts:14: TS2304 Cannot find name 'Iterable'
Я посмотрел журнал изменений и нашел:
ОпределениеIterable<T>
Теперь требуется правильно компилировать приложения Angular. Поддержка дляIterable<T>
не требуется во время выполнения, но определение типаIterable<T>
должен быть доступен.
Что я должен использовать здесь как определение Iterable?
РЕДАКТИРОВАТЬ:
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"
}