Skip to main content
Module

x/enzastdlib/collections/mod.ts>EmptyObject

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
type alias EmptyObject
import { type EmptyObject } from "https://deno.land/x/enzastdlib@v0.0.4/collections/mod.ts";

Represents an Object type that has no properties.

Examples

Example 1

import type { EmptyObject } from 'https://deno.land/x/enzastdlib/collections/mod.ts';

type X = EmptyObject; // `{ [x: string]: never; [x: number]: never; [x: symbol]: never }`
definition: Record<PropertyKey, never>