type alias Deno.ConditionalAsync

Type Parameters

IsAsync extends boolean | undefined
T
definition: IsAsync extends true ? Promise<T> : T