TWithImplicitCoercion
Bun

type

buffer.WithImplicitCoercion

type WithImplicitCoercion<T> = T | { valueOf(): T } | T extends string ? { [toPrimitive](hint: 'string'): T<T> } : never