quoted() function

Quote a @property type string.

Signature:

export declare function quoted(value: string): string;

Parameters

Parameter

Type

Description

value

string

Returns:

string

Remarks

An enum renders as a union of single-quoted members, so the surrounding quote has to be the other one or the decorator argument does not parse.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.