diff --git a/goldens/cdk/overlay/index.api.md b/goldens/cdk/overlay/index.api.md index bbceb42fd9bd..d98387f9038d 100644 --- a/goldens/cdk/overlay/index.api.md +++ b/goldens/cdk/overlay/index.api.md @@ -332,9 +332,6 @@ export class FullscreenOverlayContainer extends OverlayContainer implements OnDe static ɵprov: i0.ɵɵInjectableDeclaration; } -// @public -export function getAttachedOverlays(): OverlayRef[]; - // @public export class GlobalPositionStrategy implements PositionStrategy { apply(): void; diff --git a/src/cdk/overlay/overlay.spec.ts b/src/cdk/overlay/overlay.spec.ts index 43b1a1936909..be27634020b8 100644 --- a/src/cdk/overlay/overlay.spec.ts +++ b/src/cdk/overlay/overlay.spec.ts @@ -29,8 +29,8 @@ import { PositionStrategy, ScrollStrategy, createOverlayRef, - getAttachedOverlays, } from './index'; +import {getAttachedOverlays} from './overlay-ref'; describe('Overlay', () => { let injector: Injector; diff --git a/src/cdk/overlay/public-api.ts b/src/cdk/overlay/public-api.ts index edc718feff06..95819b1ce4ea 100644 --- a/src/cdk/overlay/public-api.ts +++ b/src/cdk/overlay/public-api.ts @@ -20,7 +20,7 @@ export { CDK_CONNECTED_OVERLAY_DEFAULT_CONFIG, } from './overlay-directives'; export {FullscreenOverlayContainer} from './fullscreen-overlay-container'; -export {OverlayRef, OverlaySizeConfig, getAttachedOverlays} from './overlay-ref'; +export {OverlayRef, OverlaySizeConfig} from './overlay-ref'; export {ViewportRuler} from '../scrolling'; export {ComponentType} from '../portal'; export {OverlayPositionBuilder} from './position/overlay-position-builder';