Skip to content

Commit

Permalink
Make 'decorators' optional and 'undefined'
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Aug 19, 2022
1 parent a2588b8 commit aebe225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecatedCompat/4.8/mergeDecoratorsAndModifiers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace 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 `Node` subtypes that support them.
Expand Down

0 comments on commit aebe225

Please sign in to comment.