isStandardDecorator() function
Returns true if the decorator was invoked in standard (TC39) mode, i.e. its second argument is a decorator context object carrying a kind.
Signature:
export declare function isStandardDecorator(context: unknown): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
context |
unknown |
the decorator's second argument |
Returns:
boolean
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.