Skip to content

Commit 36fa18b

Browse files
trikamysorto
authored andcommitted
fix(cdk/overlay): remove Optional decorator in ConnectedOverlayPositionChange constructor (#23735)
(cherry picked from commit 1267263)
1 parent 15237f8 commit 36fa18b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cdk/overlay/position/connected-position.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

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

1312
/** Vertical dimension of a connection point on the perimeter of the origin or overlay element. */
@@ -91,7 +90,7 @@ export class ConnectedOverlayPositionChange {
9190
/** The position used as a result of this change. */
9291
public connectionPair: ConnectionPositionPair,
9392
/** @docs-private */
94-
@Optional() public scrollableViewProperties: ScrollingVisibility,
93+
public scrollableViewProperties: ScrollingVisibility,
9594
) {}
9695
}
9796

0 commit comments

Comments
 (0)