Variabel Global TypeScript
declare global {
interface Window {
myGlobalFunction: myGlobalFunction
}
}
0xCHI
declare global {
interface Window {
myGlobalFunction: myGlobalFunction
}
}
npm i -D @types/[email protected]