This project is read-only.

Invalid Constraint in specification

Topics: Language Specification
Jul 5, 2013 at 4:17 PM
Constraint: extends TypeReference

It is surely wrong cause I can write the following code:
declare function x<T extends { p : number; f() : any; constructor();}>();
It should be
  extends TypeReference
  extends ObjectType
Jul 8, 2013 at 7:05 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.