type alias Deno.ToNativeParameterTypes
Unstable
A utility type for conversion of parameter types of foreign functions.
T extends readonly NativeType[]
[(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