Cannot implement interface Array from lib.d.ts (v0.9.5)

Topics: General
Dec 6, 2013 at 2:38 PM
Edited Dec 8, 2013 at 2:36 PM
I have declared class called ArrayConstructor (declared, so no implementation of methods.. ). ArrayConstructor implements interface Array (from lib.d.ts). I coppied all declaration of Array (from lib.d.ts) and pasted to ArrayConstructor.

Example is here (typescript playground): http://bit.do/eT9f

Why is there error with concat method?
Coordinator
Dec 6, 2013 at 5:20 PM
This looks like a bug to me. I think we may also need to change the Array.concat signature to not use a constraint in the lib.d.ts typing, which might be related. Copying this to a work item.
Coordinator
Dec 6, 2013 at 5:20 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.