Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ToString

type ToString<T> = T extends string ? T : T extends number ? `${T}` : never;

§Type Parameters

§Type

§
T extends string ? T : T extends number ? `${T}` : never
[src]