Skip to content

fix(ng-update): imports to MatProgressSpinnerModule not migrated #17717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
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: 1 addition & 3 deletions src/material/progress-spinner/progress-spinner-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ import {MatProgressSpinner, MatSpinner} from './progress-spinner';
MatSpinner
],
})
class MatProgressSpinnerModule {}

export {MatProgressSpinnerModule};
export class MatProgressSpinnerModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
"MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY": "progress-spinner",
"MatProgressSpinner": "progress-spinner",
"MatProgressSpinnerDefaultOptions": "progress-spinner",
"MatProgressSpinnerModule": "progress-spinner",
"MatSpinner": "progress-spinner",
"ProgressSpinnerMode": "progress-spinner",
"MAT_RADIO_DEFAULT_OPTIONS": "radio",
Expand Down
5 changes: 5 additions & 0 deletions tools/public_api_guard/material/progress-spinner.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ export interface MatProgressSpinnerDefaultOptions {
strokeWidth?: number;
}

export declare class MatProgressSpinnerModule {
static ɵinj: i0.ɵɵInjectorDef<MatProgressSpinnerModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<MatProgressSpinnerModule, [typeof i1.MatProgressSpinner, typeof i1.MatSpinner], [typeof i2.MatCommonModule, typeof i3.CommonModule], [typeof i1.MatProgressSpinner, typeof i1.MatSpinner, typeof i2.MatCommonModule]>;
}

export declare class MatSpinner extends MatProgressSpinner {
constructor(elementRef: ElementRef<HTMLElement>, platform: Platform, document: any, animationMode: string, defaults?: MatProgressSpinnerDefaultOptions);
static ngAcceptInputType_diameter: number | string | null | undefined;
Expand Down