This project is read-only.

Interfaces defined with concrete types

Topics: Language Specification
Oct 2, 2013 at 6:50 PM
It would be nice if we could create interfaces that define concrete types from multiple files. Here is an example of it working in the playground, but if the interface is moved to a .d.ts file classes can not be used. The workaround I have found is to create interfaces for each concrete class.
Oct 2, 2013 at 10:46 PM
I'm not sure I'm following the issue you're having. Your ILibrary interface could certainly be in a .d.ts file as long as that file referenced the file where ConcreteClass is defined.