IntelliJ and Angular 2 Argument Type Not Assignable Errors
<p>Is Angular2 in IntelliJ (latest update of v15 - Ultimate) supposed to work? All the docs seem to say that it does via the AngularJS plugin, but I'm getting really odd intellisense errors. For example;</p>

<pre><code>bootstrap(App, [
    ROUTER_PROVIDERS,
    provide(LocationStrategy, {useClass: HashLocationStrategy})
]);
</code></pre>

<p>Throws <code> Argument type App is not assignable to parameter type Type</code></p>

<p>And standard annotations like;</p>

<pre><code>@RouteConfig([
    {path: '/...', component: RootView, as: 'RootView', useAsDefault: true}
])
</code></pre>

<p>throw <code>Argument type {path: string, component: RootView, as: string, useAsDefault: boolean}[] is not assignable to parameter type RouteDefinition[]</code></p>

<p>Has anyone run across this before? Anyone know how to make intelliJ play nice?</p>

<p>Source for App as requested;</p>

<pre><code>import {Component, ViewEncapsulation} from 'angular2/core';
import {RootView} from './root-view';
import {
    RouteConfig,
    ROUTER_DIRECTIVES
} from 'angular2/router';

@Component({
    selector: 'app',
    templateUrl: './components/app/app.html',
    encapsulation: ViewEncapsulation.None,
    directives: [ROUTER_DIRECTIVES]
})
@RouteConfig([
    {path: '/...', component: RootView, as: 'RootView', useAsDefault: true}
])
export class App {
}
</code></pre>