Skip to content

AsyncConstExpr

AsyncConstExpr<T>: Promise<T> | T | () => Promise<T> | () => T

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

Type Parameters

T = unknown

The constant type.