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

x/ts_essentials/lib/types.ts>MarkRequired

All basic TypeScript types in one place 🤙
Latest
type alias MarkRequired
import { type MarkRequired } from "https://deno.land/x/ts_essentials@v9.1.2/lib/types.ts";

Mark some properties as required, leaving others unchanged

Type Parameters

T
RK extends keyof T
definition: Exclude<T, RK> & Required<Pick<T, RK>>