Deno.ToNativeParameterTypes - Deno documentation
type alias Deno.ToNativeParameterTypes
Unstable

A utility type for conversion of parameter types of foreign functions.

Type Parameters

T extends readonly NativeType[]

Definition

[(T[number])[]] extends [T] ? ToNativeType<T[number]>[] : [readonly (T[number])[]] extends [T] ? readonly ToNativeType<T[number]>[] : T extends readonly [...NativeType[]] ? [K in keyof T]: ToNativeType<T[K]> : never