How can I reference dom event names from WindowEventMap in a safe way in typescript?

后端 未结 0 1337
死守一世寂寞
死守一世寂寞 2021-01-03 17:46

I would like to create a number of dom event listeners for debug, but I was wondering if it\'s possible to make sure that the names are correct at compile time by referencin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题