Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescrpt add onject to window namespace

declare global {
    interface Window { MyNamespace: any; }
}

window.MyNamespace = window.MyNamespace || {};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescrpt #add #onject #window #namespace
ADD COMMENT
Topic
Name
4+5 =