From VScode, I notice typeof globalThis is a module. I know how to extend it, just with delcare global
. But I can't figure out what a module type is and how should define a module type just like the globalThis.
typescript - What's the type of globalThis object? - Stack Overflow
评论列表(0)
- 暂无评论