Skip to content

Function: parseComponentId()

parseComponentId(id): string & $brand<"ComponentId">

Defined in: packages/riviere-query/src/features/querying/queries/domain-types.ts:272

Parses a string as a ComponentId.

Parameters

id

string

The string to parse

Returns

string & $brand<"ComponentId">

A branded ComponentId