how to extends a module in typescript <p>I'm still new to typescript, so any direction would be appreciated. Thanks!</p> <p>file A:</p> <pre><code> module SoundManager { export class SoundManager { } export function init($s: string):void { } } </code></pre> <p>file B:</p> <pre><code>module SoundM { class SoundM extends SoundManager { } export function init($s:string): void { super.init($s); } } </code></pre> <p>this will return the error:</p> <blockquote> <p>Error TS2507 Type 'typeof SoundManager' is not a constructor function type. </p> </blockquote>