mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00: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:
1 parent
ef88fbb8ab
commit
284837d66b
11 files changed
+301
-440
No files matched your search
@@ -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