Skip to content

Commit

Permalink
fix(cdk/overlay): backdropClass type mismatch (#25487)
Browse files Browse the repository at this point in the history
(cherry picked from commit f9113b9)
  • Loading branch information
ko-tori authored and crisbeto committed Aug 18, 2022
1 parent c6a03f1 commit b9f09aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cdk/overlay/overlay-directives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class CdkConnectedOverlay implements OnDestroy, OnChanges {
@Input('cdkConnectedOverlayMinHeight') minHeight: number | string;

/** The custom class to be set on the backdrop element. */
@Input('cdkConnectedOverlayBackdropClass') backdropClass: string;
@Input('cdkConnectedOverlayBackdropClass') backdropClass: string | string[];

/** The custom class to add to the overlay pane element. */
@Input('cdkConnectedOverlayPanelClass') panelClass: string | string[];
Expand Down
2 changes: 1 addition & 1 deletion tools/public_api_guard/cdk/overlay.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay
export class CdkConnectedOverlay implements OnDestroy, OnChanges {
constructor(_overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, scrollStrategyFactory: any, _dir: Directionality);
readonly attach: EventEmitter<void>;
backdropClass: string;
backdropClass: string | string[];
readonly backdropClick: EventEmitter<MouseEvent>;
readonly detach: EventEmitter<void>;
get dir(): Direction;
Expand Down

0 comments on commit b9f09aa

Please sign in to comment.