On adding the lines -
<reference path="typings/angular2/angular2.d.ts" >
app.ts(1,12): error TS1005: '>' expected.
app.ts(1,16): error TS1005: ';' expected.
app.ts(2,1): error TS1109: Expression expected.
To import the type definition in TypeScript, you need triple forward slashes (///) at the beginning and enclose the reference tag with a forward slash (/>).
/// <reference path="typings/angular2/angular2.d.ts" />
For more examples, take a look at http://www.typescriptlang.org/Handbook#modules-splitting-across-files
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With