type-alias / @typed/ui/Dom/Types

Nullish

JavaScript’s two absent-value types.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Property type utilities
Since
1.0.0

Import

import type { Nullish } from "@typed/ui/Dom/Types";

Signatures

export type Nullish = null | undefined;

Why

Internal prop helpers consistently treat null and undefined as absent.

Ownership and lifetime

Type-only and resource-free.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source