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
  • Loading branch information
trik committed Oct 21, 2021
1 parent 6c9025c commit bf5b03d
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 @@ -92,7 +91,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 bf5b03d

Please sign in to comment.