In TypeScript, when creating .d.ts source declaration files, which is preferable and why?
declare class Example { public Method(): void; }
You can implement the interface:
class MyClass implements Example { Method() { } }
Whereas the declare class syntax is really intended to be used to add type definitions for external code that isn't written in TypeScript - so the implementation is "elsewhere".
declare class