Skip to content

Commit

Permalink
Update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Aug 19, 2022
1 parent 46c30f3 commit 6404716
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11781,20 +11781,20 @@ declare namespace ts {
declare namespace ts {
interface Node {
/**
* @deprecated `decorators` has been merged with `modifiers` on the declarations that support decorators.
* To test whether a `Node` can legally have decorators, use the `ts.canHaveDecorators()` function. To read the
* decorators of a `Node` that can legally have decorators, use the `ts.getDecorators()` function.
* @deprecated `decorators` has been removed from `Node` and merged with `modifiers` on the `Node` subtypes that support them.
* Use `ts.canHaveDecorators()` to test whether a `Node` can have decorators.
* Use `ts.getDecorators()` to get the decorators of a `Node`.
*
* For example:
* ```ts
* const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
* ```
*/
readonly decorators: never;
readonly decorators?: undefined;
/**
* @deprecated `modifiers` has been removed from `Node` and moved to the specific `Node` subtypes that support them.
* To test whether a `Node` can legally have modifiers, use the `ts.canHaveModifiers()` function. To read the modifiers
* of a `Node` that can legally have modifiers, use the `ts.getModifiers()` function.
* @deprecated `modifiers` has been removed from `Node` and moved to the `Node` subtypes that support them.
* Use `ts.canHaveModifiers()` to test whether a `Node` can have modifiers.
* Use `ts.getModifiers()` to get the modifiers of a `Node`.
*
* For example:
* ```ts
Expand Down
14 changes: 7 additions & 7 deletions tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7913,20 +7913,20 @@ declare namespace ts {
declare namespace ts {
interface Node {
/**
* @deprecated `decorators` has been merged with `modifiers` on the declarations that support decorators.
* To test whether a `Node` can legally have decorators, use the `ts.canHaveDecorators()` function. To read the
* decorators of a `Node` that can legally have decorators, use the `ts.getDecorators()` function.
* @deprecated `decorators` has been removed from `Node` and merged with `modifiers` on the `Node` subtypes that support them.
* Use `ts.canHaveDecorators()` to test whether a `Node` can have decorators.
* Use `ts.getDecorators()` to get the decorators of a `Node`.
*
* For example:
* ```ts
* const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
* ```
*/
readonly decorators: never;
readonly decorators?: undefined;
/**
* @deprecated `modifiers` has been removed from `Node` and moved to the specific `Node` subtypes that support them.
* To test whether a `Node` can legally have modifiers, use the `ts.canHaveModifiers()` function. To read the modifiers
* of a `Node` that can legally have modifiers, use the `ts.getModifiers()` function.
* @deprecated `modifiers` has been removed from `Node` and moved to the `Node` subtypes that support them.
* Use `ts.canHaveModifiers()` to test whether a `Node` can have modifiers.
* Use `ts.getModifiers()` to get the modifiers of a `Node`.
*
* For example:
* ```ts
Expand Down

0 comments on commit 6404716

Please sign in to comment.