Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript global variable

declare global {
    interface Window {
        myGlobalFunction: myGlobalFunction
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #global #variable
ADD COMMENT
Topic
Name
2+7 =