As someone who is relatively new to Angular 2, I am attempting to create a global namespace by setting up window.Dashboard. Although my main page and jasmine tests are loading successfully, my compiler watch keeps quitting and giving me the error "Property 'Dashboard' does not exist on type ‘Window'. Here is a link to the code on pastebin for reference: http://pastebin.com/DF9wXexH. Any insights or suggestions on what might be causing this issue would be greatly appreciated! Thanks!!
//main.ts
import { bootstrap } from 'angular2/platform/browser';
import { DashComponent } from './dash.component';
bootstrap(DashComponent);
//dash.component.ts
import { Component } from 'angular2/core';
interface Window {
Dashboard?: any;
}
@Component({
selector: 'main',
template: '<h1>Welcome To The Dashboard</h1>'
})
export class DashComponent {
constructor() {}
}