摘要: export function assertType<T>(obj: unknown = {}): T { return obj as T } const store = assertType<Store>({select: () => of()}) 阅读全文
posted @ 2022-05-09 14:34 Zhentiw 阅读(38) 评论(0) 推荐(0) 编辑