Currently getting this error.
$ tsc
app/boot.ts(5,25): error TS2345: Argument of type 'typeof HomeComponent' is not assignable to parameter of type 'any[]'.
Property 'push' is missing in type 'typeof HomeComponent'.
boot.ts
Code: Select all
import {bootstrap} from 'angular2/platform/browser';
import {AppComponent} from './app.component';
import {HomeComponent} from './components/home/home.component';
bootstrap(AppComponent, HomeComponent);
Code: Select all
import {Component} from 'angular2/core';
@Component({
selector: 'home',
templateUrl: 'app/components/home/home.html'
})
export class HomeComponent {
}