How did I move to Japan!
I didn't write a blog about this as I was too busy about changing my job and relocated to Japan.
I didn't write a blog about this as I was too busy about changing my job and relocated to Japan.
for someone who have a limit of time
// instead of this
(window as any).MY_GREETING_MESSAGE = 'Hi Earth!'
// do this
declare global {
interface Window {
MY_GREETING_MESSAGE: string
}
}
window.MY_GREETING_MESSAGE = 'Hi Earth!'