Multiple extends

Topics: Language Specification
May 17, 2013 at 1:32 PM
According to TS grammar:

InterfaceDeclaration: interface Identifier TypeParameters(opt) InterfaceExtendsClause(opt) ObjectType

InterfaceExtendsClause: extends ClassOrInterfaceTypeList

This means 'extends' may appear only once in the interface definition.

But TS compiler accepts multiple extends. ( check it here http://www.typescriptlang.org/Playground/ )
interface A{}
interface B{}
interface C extends A extends B {}
May 17, 2013 at 1:50 PM
Actually it is fixed in 0.9.
So the discussion is closed.