Skip to content

Interface: DocModifier

Defined in: packages/core/src/grammar.ts:52

The prose a @modifier tag contributes: a description and/or an inline deprecation replacement note.

Properties

deprecated?

ts
optional deprecated?: string;

Defined in: packages/core/src/grammar.ts:57

Free-text replacement guidance from an inline deprecated tag on the modifier line.


deprecatedCanonical?

ts
optional deprecatedCanonical?: string;

Defined in: packages/core/src/grammar.ts:63

The canonical modifier this one deprecates, from a {@link -canonical} in the deprecation note (e.g. @deprecated {@link -color-danger}). Stored without its leading dot, matching the AST-derived deprecated.canonical, so an authored alias and a generated one resolve to the same reference.


deprecatedFlag?

ts
optional deprecatedFlag?: boolean;

Defined in: packages/core/src/grammar.ts:55

Set when the modifier carries a bare @deprecated (no note and no canonical link).


description?

ts
optional description?: string;

Defined in: packages/core/src/grammar.ts:53

Released under the MIT License