UNPKG

type-tls

Version:

type-tls 封装了与类型相关的工具,比如:获取数据的类型 或 类型名字、判断数据的类型 等

16 lines (10 loc) 465 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [type-tls](./type-tls.md) &gt; [KeyOfNonContainsValue](./type-tls.keyofnoncontainsvalue.md) ## KeyOfNonContainsValue type 获取值类型不应包含指定类型的所有 key **Signature:** ```typescript export type KeyOfNonContainsValue<Target, Value> = { [K in keyof Target]: Value extends Target[K] ? never : K; }[keyof Target]; ```