Imagine I have a class
export class Foo
{
methodX():string
{
}
}
window.foo = new Foo();
and I have my window interface what is the workaround to add Foo in window interface
interface Window {
foo:Foo;
}
this is working for internal modules but not for external modules.