deno.com

type alias WithImplicitCoercion

Type Parameters #

#T

Definition #

T
| { valueOf(): T; }
| (T extends string ? { [[Symbol.toPrimitive]](hint: "string"): T; } : never)