Skip to content

API DocumentationDocs


API Documentation / ParamValueZeroOrOne

Type Alias: ParamValueZeroOrOne<isRaw>

ParamValueZeroOrOne<isRaw>: true extends isRaw ? string | number | null | undefined : string

Utility type for raw and non raw params like :id?

Type Parameters

isRaw extends boolean

Released under the MIT License.