Variable globale de typeScript
declare global {
interface Window {
myGlobalFunction: myGlobalFunction
}
}
0xCHI
declare global {
interface Window {
myGlobalFunction: myGlobalFunction
}
}
npm i -D @types/[email protected]