Skip to content

Commit

Permalink
refactor(forms): remove deprecated symbols
Browse files Browse the repository at this point in the history
Follow-up of #55698 to help remove the symbols from G3.
  • Loading branch information
JeanMeche committed May 8, 2024
1 parent 7a0496b commit 52e7241
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
12 changes: 0 additions & 12 deletions goldens/public-api/forms/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,10 +794,6 @@ export class PristineChangeEvent extends ControlEvent {
readonly source: AbstractControl;
}

// @public @deprecated (undocumented)
export class PristineEvent extends PristineChangeEvent {
}

// @public
export class RadioControlValueAccessor extends BuiltInControlValueAccessor implements ControlValueAccessor, OnDestroy, OnInit {
constructor(renderer: Renderer2, elementRef: ElementRef, _registry: RadioControlRegistry, _injector: Injector);
Expand Down Expand Up @@ -892,10 +888,6 @@ export class StatusChangeEvent extends ControlEvent {
readonly status: FormControlStatus;
}

// @public @deprecated (undocumented)
export class StatusEvent extends StatusChangeEvent {
}

// @public
export class TouchedChangeEvent extends ControlEvent {
constructor(touched: boolean, source: AbstractControl);
Expand All @@ -905,10 +897,6 @@ export class TouchedChangeEvent extends ControlEvent {
readonly touched: boolean;
}

// @public @deprecated (undocumented)
export class TouchedEvent extends TouchedChangeEvent {
}

// @public
export type UntypedFormArray = FormArray<any>;

Expand Down
3 changes: 0 additions & 3 deletions packages/forms/src/forms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ export {
AbstractControlOptions,
ControlEvent,
FormControlStatus,
PristineEvent,
StatusEvent,
TouchedEvent,
PristineChangeEvent,
StatusChangeEvent,
TouchedChangeEvent,
Expand Down
15 changes: 0 additions & 15 deletions packages/forms/src/model/abstract_model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ export class PristineChangeEvent extends ControlEvent {
}
}

/**
* @deprecated use `PristineChangeEvent` symbol instead.
*/
export class PristineEvent extends PristineChangeEvent {}

/**
* Event fired when the control's touched status changes (touched <=> untouched).
*
Expand All @@ -135,11 +130,6 @@ export class TouchedChangeEvent extends ControlEvent {
}
}

/**
* @deprecated use `TouchedChangeEvent` symbol instead.
*/
export class TouchedEvent extends TouchedChangeEvent {}

/**
* Event fired when the control's status changes.
*
Expand All @@ -154,11 +144,6 @@ export class StatusChangeEvent extends ControlEvent {
}
}

/**
* @deprecated use `StatusChangeEvent` symbol instead.
*/
export class StatusEvent extends StatusChangeEvent {}

/**
* Gets validators from either an options object or given validators.
*/
Expand Down

0 comments on commit 52e7241

Please sign in to comment.