On http://www.typescriptlang.org/Handbook#interfaces website Hybrid Types are explained. As these are extremely helpful for creating typings to JS - I wonder if it's possible to define a class implementing e.g. such interface:
interface Counter {
(start: number): string;
interval: number;
reset(): void;
}
If not then maybe it's possible to create just an object of that type? How?