Skip to content

Function: parseComponentId()

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

Defined in: packages/riviere-query/src/domain-types.ts:270

Parses a string as a ComponentId.

Parameters

id

string

The string to parse

Returns

string & $brand<"ComponentId">

A branded ComponentId