TypeScript中的ThisType具体有什么用?
关注者
3被浏览
11,0413 个回答
This utility dose not return a transformed type. Instead, it serves as a marker for a contextual this type. Note that the - - noImplicitThis flag must be enabled to use this utility.
This utility dose not return a transformed type. Instead, it serves as a marker for a contextual this type. Note that the - - noImplicitThis flag must be enabled to use this utility.