Skip to content

Commit

Permalink
fix(cdk/overlay): remove Optional decorator in ConnectedOverlayPositi…
Browse files Browse the repository at this point in the history
…onChange constructor (#23735)

(cherry picked from commit 1267263)
  • Loading branch information
trik authored and amysorto committed Nov 9, 2021
1 parent 15237f8 commit 36fa18b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cdk/overlay/position/connected-position.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

/** Horizontal dimension of a connection point on the perimeter of the origin or overlay element. */
import {Optional} from '@angular/core';
export type HorizontalConnectionPos = 'start' | 'center' | 'end';

/** Vertical dimension of a connection point on the perimeter of the origin or overlay element. */
Expand Down Expand Up @@ -91,7 +90,7 @@ export class ConnectedOverlayPositionChange {
/** The position used as a result of this change. */
public connectionPair: ConnectionPositionPair,
/** @docs-private */
@Optional() public scrollableViewProperties: ScrollingVisibility,
public scrollableViewProperties: ScrollingVisibility,
) {}
}

Expand Down

0 comments on commit 36fa18b

Please sign in to comment.