You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My tslint (angular2-seed) comes with up with the following error:
node_modules/ng2-bootstrap/components/carousel/carousel.component.ts(103,11): error TS7030: Not all code paths return a value.
It appears the function getSlideByIndex in node_modules/ng2-bootstrap/components/carousel/carousel.component.ts does not always return:
private getSlideByIndex(index:number) {
let len = this.slides.length;
for (let i = 0; i < len; ++i) {
if (this.slides[i].index === index) {
return this.slides[i];
}
}
}
The text was updated successfully, but these errors were encountered:
My tslint (angular2-seed) comes with up with the following error:
node_modules/ng2-bootstrap/components/carousel/carousel.component.ts(103,11): error TS7030: Not all code paths return a value.
It appears the function
getSlideByIndex
innode_modules/ng2-bootstrap/components/carousel/carousel.component.ts
does not always return:The text was updated successfully, but these errors were encountered: