Skip to content

ConstExpr

ConstExpr<T>: T | () => T

A type that represents either a constant or a constant function.

Type Parameters

T = unknown

The constant type.