[Typescript] Any record key

type AnyProppertyKey = keyof any

 

Example:

type Example = Record<AnyProertyKey, any>

 

posted @ 2024-01-31 15:10  Zhentiw  阅读(1)  评论(0编辑  收藏  举报