Fenêtre Global TypeScript
declare global {
interface Window { MyNamespace: any; }
}
window.MyNamespace = window.MyNamespace || {};
Vivacious Vendace
declare global {
interface Window { MyNamespace: any; }
}
window.MyNamespace = window.MyNamespace || {};