mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-25 05:29:07 -05:00
Fixes for decorators property deprecations (#50343)
* Change type of deprecated 'decorators' property * fix 'Invalid Arguments' error for create/update constructor in factory * Update deprecation comments * Make 'decorators' optional and 'undefined' * Rename '_decorators' to 'illegalDecorators' * Update baselines
This commit is contained in:
@@ -653,7 +653,7 @@ namespace ts.refactor.convertParamsToDestructuredObject {
|
||||
interface ValidParameterDeclaration extends ParameterDeclaration {
|
||||
name: Identifier;
|
||||
modifiers: undefined;
|
||||
decorators: undefined;
|
||||
illegalDecorators: undefined;
|
||||
}
|
||||
|
||||
interface GroupedReferences {
|
||||
|
||||
Reference in New Issue
Block a user