Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deepmergets/src/types/utils.ts>OptionalKeysOf

Deeply merge 2 or more objects respecting type information.
Go to Latest
type alias OptionalKeysOf
import { type OptionalKeysOf } from "https://deno.land/x/deepmergets@v4.0.2/src/types/utils.ts";

Get all the optional keys on the types in the tuple.

Type Parameters

Ts extends readonly [unknown, ...ReadonlyArray<unknown>]
definition: OptionalKeysOfHelper<Ts, never>