diff --git a/goldens/material/sort/index.api.md b/goldens/material/sort/index.api.md index e471450dd1fb..3dc256b01d5c 100644 --- a/goldens/material/sort/index.api.md +++ b/goldens/material/sort/index.api.md @@ -114,7 +114,7 @@ export class MatSortHeader implements MatSortable, OnDestroy, OnInit, AfterViewI static ɵfac: i0.ɵɵFactoryDeclaration; } -// @public +// @public @deprecated export class MatSortHeaderIntl { readonly changes: Subject; // (undocumented) diff --git a/src/material/sort/sort-header-intl.ts b/src/material/sort/sort-header-intl.ts index c275a4cca2ed..ea7ca77d65b8 100644 --- a/src/material/sort/sort-header-intl.ts +++ b/src/material/sort/sort-header-intl.ts @@ -12,6 +12,10 @@ import {Subject} from 'rxjs'; /** * To modify the labels and text displayed, create a new instance of MatSortHeaderIntl and * include it in a custom provider. + * + * @deprecated No longer used, will be removed. + * @breaking-change 23.0.0 + * @docs-private */ @Injectable({providedIn: 'root'}) export class MatSortHeaderIntl {