Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions goldens/material/sidenav/index.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const MAT_DRAWER_DEFAULT_AUTOSIZE: InjectionToken<boolean>;
// @public
export class MatDrawer implements AfterViewInit, OnDestroy {
constructor();
readonly _animationEnd: Subject<unknown>;
readonly _animationStarted: Subject<unknown>;
readonly _animationEnd: Subject<void | TransitionEvent>;
readonly _animationStarted: Subject<void>;
get autoFocus(): AutoFocusTarget | string | boolean;
set autoFocus(value: AutoFocusTarget | string | BooleanInput);
close(): Promise<MatDrawerToggleResult>;
Expand Down
2 changes: 1 addition & 1 deletion src/cdk-experimental/popover-edit/table-directives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class CdkEditable implements AfterViewInit, OnDestroy {

protected readonly destroyed = new Subject<void>();

private _rowsRendered = new Subject();
private _rowsRendered = new Subject<void>();

private _rowMutationObserver = globalThis.MutationObserver
? new globalThis.MutationObserver(mutations => {
Expand Down
2 changes: 1 addition & 1 deletion src/material/autocomplete/autocomplete-trigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class MatAutocompleteTrigger
private _overlayRef: OverlayRef | null = null;
private _portal!: TemplatePortal;
private _componentDestroyed = false;
private _initialized = new Subject();
private _initialized = new Subject<void>();
private _keydownSubscription: Subscription | undefined;
private _outsideClickSubscription: Subscription | undefined;
private _cleanupWindowBlur: (() => void) | undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/material/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class MatSelect
protected _defaultOptions = inject(MAT_SELECT_CONFIG, {optional: true});
protected _animationsDisabled = _animationsDisabled();
protected _popoverLocation: FlexibleOverlayPopoverLocation | null;
private _initialized = new Subject();
private _initialized = new Subject<void>();
private _cleanupDetach: (() => void) | undefined;

/** All of the defined select options. */
Expand Down
4 changes: 2 additions & 2 deletions src/material/sidenav/drawer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ export class MatDrawer implements AfterViewInit, OnDestroy {
private _openedVia: FocusOrigin | null = null;

/** Emits whenever the drawer has started animating. */
readonly _animationStarted = new Subject();
readonly _animationStarted = new Subject<void>();

/** Emits whenever the drawer is done animating. */
readonly _animationEnd = new Subject();
readonly _animationEnd = new Subject<TransitionEvent | void>();

/** Event emitted when the drawer open state is changed. */
@Output() readonly openedChange: EventEmitter<boolean> =
Expand Down
Loading