Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

$Shape

$Shape

@example
type Props = { name: string; age: number; visible: boolean };

  // Expect: Partial<Props>
  type PartialProps = $Shape<Props>;
type $Shape<T extends object> = Partial<T>;

§Type Parameters

§
T extends object
[src]

§Type

§
Partial<T>
[src]