Solved.
Go to 
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/ffceea9dd124d277c4597c7bd12930666ec074c5/es6-shim/es6-shim.d.ts
 and 
download the es6-shim.d.ts file. Then add reference to this file (and 
remove reference to node_modules/angular2/typings/browser.d.ts).


On Friday, February 12, 2016 at 5:01:07 PM UTC-5, JG wrote:
>
> After upgrading to beta 6 I started getting error messages when 
> transpiling from TypeScript to ES5. It seem to affect ES6 methods of Array. 
> One example would be:
> xxxxx.ts(347,49): error TS2339: Property '*findIndex*' does not exist on 
> type 'Xxxxxx[]'.
>
> I was getting more errors until I added ///<reference 
> path="../../node_modules/angular2/typings/browser.d.ts"/> at the top of 
> the .ts file doing bootstrapping.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to