Skip to content

Commit 6164428

Browse files
committed
refactor: remove inherited coercion acceptance members
Previously Angular did not inherit coercion acceptance members until we submitted an issue on the framework side. This issue will be fixed with angular/angular#34296. In preparation for that change to land, this PR removes all unnecessary acceptance members and updates the lint rule to avoid future duplications (the rule is also used to make that refactoring)
1 parent 45d34ad commit 6164428

File tree

31 files changed

+33
-111
lines changed

31 files changed

+33
-111
lines changed

src/components-examples/cdk/stepper/cdk-custom-stepper-without-form/cdk-custom-stepper-without-form-example.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,4 @@ export class CustomStepper extends CdkStepper {
2020
onClick(index: number): void {
2121
this.selectedIndex = index;
2222
}
23-
24-
// These properties are required so that the Ivy template type checker in strict mode knows
25-
// what kind of values are accepted by the `linear` and `selectedIndex` inputs which
26-
// are inherited from `CdkStepper`.
27-
static ngAcceptInputType_linear: boolean | string | null | undefined;
28-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
2923
}

src/material-experimental/mdc-chips/chip-listbox.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,5 @@ export class MatChipListbox extends MatChipSet implements AfterContentInit, Cont
557557
static ngAcceptInputType_multiple: boolean | string | null | undefined;
558558
static ngAcceptInputType_selectable: boolean | string | null | undefined;
559559
static ngAcceptInputType_required: boolean | string | null | undefined;
560-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
561560
}
562561

src/material-experimental/mdc-chips/chip-option.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,5 @@ export class MatChipOption extends MatChip {
227227

228228
static ngAcceptInputType_selectable: boolean | string | null | undefined;
229229
static ngAcceptInputType_selected: boolean | string | null | undefined;
230-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
231-
static ngAcceptInputType_removable: boolean | string | null | undefined;
232-
static ngAcceptInputType_highlighted: boolean | string | null | undefined;
233230
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
234231
}

src/material-experimental/mdc-chips/chip-row.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,5 @@ export class MatChipRow extends MatChip implements AfterContentInit, AfterViewIn
148148
this._handleInteraction(event);
149149
}
150150
}
151-
152-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
153-
static ngAcceptInputType_removable: boolean | string | null | undefined;
154-
static ngAcceptInputType_highlighted: boolean | string | null | undefined;
155151
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
156152
}

src/material-experimental/mdc-menu/menu.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,4 @@ export class MatMenu extends BaseMatMenu {
7070
// - should update the elevation when the same menu is opened at a different depth
7171
// - should not increase the elevation if the user specified a custom one
7272
}
73-
74-
static ngAcceptInputType_overlapTrigger: boolean | string | null | undefined;
75-
static ngAcceptInputType_hasBackdrop: boolean | string | null | undefined;
7673
}

src/material-experimental/mdc-tabs/tab-group.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ export class MatTabGroup extends _MatTabGroupBase {
7777
}
7878

7979
static ngAcceptInputType_fitInkBarToContent: boolean | string | null | undefined;
80-
static ngAcceptInputType_dynamicHeight: boolean | string | null | undefined;
8180
static ngAcceptInputType_animationDuration: number | string | null | undefined;
82-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
8381
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
8482
}

src/material-experimental/mdc-tabs/tab-header.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,4 @@ export class MatTabHeader extends _MatTabHeaderBase implements AfterContentInit
7474
}
7575

7676
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
77-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
7877
}

src/material-experimental/mdc-tabs/tab-nav-bar/tab-nav-bar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export class MatTabNav extends _MatTabNavBase implements AfterContentInit {
104104

105105
static ngAcceptInputType_fitInkBarToContent: boolean | string | null | undefined;
106106
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
107-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
108107
}
109108

110109
/**

src/material/expansion/accordion.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,4 @@ export class MatAccordion extends CdkAccordion implements MatAccordionBase, Afte
103103
}
104104

105105
static ngAcceptInputType_hideToggle: boolean | string | null | undefined;
106-
static ngAcceptInputType_multi: boolean | string | null | undefined;
107106
}

src/material/input/autosize.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,4 @@ export class MatTextareaAutosize extends CdkTextareaAutosize {
4141
@Input()
4242
get matTextareaAutosize(): boolean { return this.enabled; }
4343
set matTextareaAutosize(value: boolean) { this.enabled = value; }
44-
45-
static ngAcceptInputType_minRows: number | string | null | undefined;
46-
static ngAcceptInputType_maxRows: number | string | null | undefined;
47-
static ngAcceptInputType_enabled: boolean | string | null | undefined;
4844
}

src/material/menu/menu.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,4 @@ export class _MatMenu extends MatMenu {
507507
@Inject(MAT_MENU_DEFAULT_OPTIONS) defaultOptions: MatMenuDefaultOptions) {
508508
super(elementRef, ngZone, defaultOptions);
509509
}
510-
511-
static ngAcceptInputType_overlapTrigger: boolean | string | null | undefined;
512-
static ngAcceptInputType_hasBackdrop: boolean | string | null | undefined;
513510
}

src/material/progress-spinner/progress-spinner.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,6 @@ export class MatSpinner extends MatProgressSpinner {
332332
super(elementRef, platform, document, animationMode, defaults);
333333
this.mode = 'indeterminate';
334334
}
335-
336-
static ngAcceptInputType_diameter: number | string | null | undefined;
337-
static ngAcceptInputType_strokeWidth: number | string | null | undefined;
338-
static ngAcceptInputType_value: number | string | null | undefined;
339335
}
340336

341337

src/material/sidenav/sidenav.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ export class MatSidenav extends MatDrawer {
9999
static ngAcceptInputType_fixedInViewport: boolean | string | null | undefined;
100100
static ngAcceptInputType_fixedTopGap: number | string | null | undefined;
101101
static ngAcceptInputType_fixedBottomGap: number | string | null | undefined;
102-
static ngAcceptInputType_disableClose: boolean | string | null | undefined;
103-
static ngAcceptInputType_autoFocus: boolean | string | null | undefined;
104-
static ngAcceptInputType_opened: boolean | string | null | undefined;
105102
}
106103

107104

@@ -131,7 +128,5 @@ export class MatSidenavContainer extends MatDrawerContainer {
131128
_allDrawers: QueryList<MatSidenav>;
132129

133130
@ContentChild(MatSidenavContent) _content: MatSidenavContent;
134-
135-
static ngAcceptInputType_autosize: boolean | string | null | undefined;
136131
static ngAcceptInputType_hasBackdrop: boolean | string | null | undefined;
137132
}

src/material/stepper/stepper.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ export class MatStep extends CdkStep implements ErrorStateMatcher {
8080

8181
return originalErrorState || customErrorState;
8282
}
83-
84-
static ngAcceptInputType_editable: boolean | string | null | undefined;
85-
static ngAcceptInputType_hasError: boolean | string | null | undefined;
86-
static ngAcceptInputType_optional: boolean | string | null | undefined;
87-
static ngAcceptInputType_completed: boolean | string | null | undefined;
8883
}
8984

9085

@@ -136,8 +131,6 @@ export class MatStepper extends CdkStepper implements AfterContentInit {
136131
static ngAcceptInputType_optional: boolean | string | null | undefined;
137132
static ngAcceptInputType_completed: boolean | string | null | undefined;
138133
static ngAcceptInputType_hasError: boolean | string | null | undefined;
139-
static ngAcceptInputType_linear: boolean | string | null | undefined;
140-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
141134
}
142135

143136
@Component({
@@ -170,8 +163,6 @@ export class MatHorizontalStepper extends MatStepper {
170163
static ngAcceptInputType_optional: boolean | string | null | undefined;
171164
static ngAcceptInputType_completed: boolean | string | null | undefined;
172165
static ngAcceptInputType_hasError: boolean | string | null | undefined;
173-
static ngAcceptInputType_linear: boolean | string | null | undefined;
174-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
175166
}
176167

177168
@Component({
@@ -208,6 +199,4 @@ export class MatVerticalStepper extends MatStepper {
208199
static ngAcceptInputType_optional: boolean | string | null | undefined;
209200
static ngAcceptInputType_completed: boolean | string | null | undefined;
210201
static ngAcceptInputType_hasError: boolean | string | null | undefined;
211-
static ngAcceptInputType_linear: boolean | string | null | undefined;
212-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
213202
}

src/material/table/cell.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export class MatColumnDef extends CdkColumnDef {
6262
@Input('matColumnDef') name: string;
6363

6464
static ngAcceptInputType_sticky: boolean | string | null | undefined;
65-
static ngAcceptInputType_stickyEnd: boolean | string | null | undefined;
6665
}
6766

6867
/** Header cell template container that adds the right classes and role. */

src/material/table/table.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,4 @@ import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/co
2929
export class MatTable<T> extends CdkTable<T> {
3030
/** Overrides the sticky CSS class set by the `CdkTable`. */
3131
protected stickyCssClass = 'mat-table-sticky';
32-
33-
static ngAcceptInputType_multiTemplateDataRows: boolean | string | null | undefined;
3432
}

src/material/tabs/tab-group.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,6 @@ export class MatTabGroup extends _MatTabGroupBase {
407407
@Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string) {
408408
super(elementRef, changeDetectorRef, defaultConfig, animationMode);
409409
}
410-
411-
static ngAcceptInputType_dynamicHeight: boolean | string | null | undefined;
412410
static ngAcceptInputType_animationDuration: number | string | null | undefined;
413-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
414411
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
415412
}

src/material/tabs/tab-header.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,4 @@ export class MatTabHeader extends _MatTabHeaderBase {
107107
}
108108

109109
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
110-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
111110
}

src/material/tabs/tab-nav-bar/tab-nav-bar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ export class MatTabNav extends _MatTabNavBase {
181181
}
182182

183183
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
184-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
185184
}
186185

187186
// Boilerplate for applying mixins to MatTabLink.

src/material/tree/padding.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,4 @@ export class MatTreeNodePadding<T> extends CdkTreeNodePadding<T> {
2222

2323
/** The indent for each level. Default number 40px from material design menu sub-menu spec. */
2424
@Input('matTreeNodePaddingIndent') indent: number;
25-
26-
static ngAcceptInputType_level: number | string | null | undefined;
2725
}

src/material/tree/toggle.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ import {Directive, Input} from '@angular/core';
1818
})
1919
export class MatTreeNodeToggle<T> extends CdkTreeNodeToggle<T> {
2020
@Input('matTreeNodeToggleRecursive') recursive: boolean = false;
21-
22-
static ngAcceptInputType_recursive: boolean | string | null | undefined;
2321
}

tools/public_api_guard/material/expansion.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export declare class MatAccordion extends CdkAccordion implements MatAccordionBa
1313
_handleHeaderKeydown(event: KeyboardEvent): void;
1414
ngAfterContentInit(): void;
1515
static ngAcceptInputType_hideToggle: boolean | string | null | undefined;
16-
static ngAcceptInputType_multi: boolean | string | null | undefined;
1716
static ɵdir: i0.ɵɵDirectiveDefWithMeta<MatAccordion, "mat-accordion", ["matAccordion"], { 'multi': "multi", 'hideToggle': "hideToggle", 'displayMode': "displayMode", 'togglePosition': "togglePosition" }, {}, ["_headers"]>;
1817
static ɵfac: i0.ɵɵFactoryDef<MatAccordion>;
1918
}

tools/public_api_guard/material/input.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ export declare class MatTextareaAutosize extends CdkTextareaAutosize {
6666
matAutosizeMaxRows: number;
6767
matAutosizeMinRows: number;
6868
matTextareaAutosize: boolean;
69-
static ngAcceptInputType_enabled: boolean | string | null | undefined;
70-
static ngAcceptInputType_maxRows: number | string | null | undefined;
71-
static ngAcceptInputType_minRows: number | string | null | undefined;
7269
static ɵdir: i0.ɵɵDirectiveDefWithMeta<MatTextareaAutosize, "textarea[mat-autosize], textarea[matTextareaAutosize]", ["matTextareaAutosize"], { 'cdkAutosizeMinRows': "cdkAutosizeMinRows", 'cdkAutosizeMaxRows': "cdkAutosizeMaxRows", 'matAutosizeMinRows': "matAutosizeMinRows", 'matAutosizeMaxRows': "matAutosizeMaxRows", 'matAutosize': "mat-autosize", 'matTextareaAutosize': "matTextareaAutosize" }, {}, never>;
7370
static ɵfac: i0.ɵɵFactoryDef<MatTextareaAutosize>;
7471
}

tools/public_api_guard/material/menu.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
export declare class _MatMenu extends MatMenu {
22
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, defaultOptions: MatMenuDefaultOptions);
3-
static ngAcceptInputType_hasBackdrop: boolean | string | null | undefined;
4-
static ngAcceptInputType_overlapTrigger: boolean | string | null | undefined;
53
static ɵcmp: i0.ɵɵComponentDefWithMeta<_MatMenu, "mat-menu", ["matMenu"], {}, {}, never>;
64
static ɵfac: i0.ɵɵFactoryDef<_MatMenu>;
75
}

tools/public_api_guard/material/progress-spinner.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ export declare class MatProgressSpinnerModule {
3636

3737
export declare class MatSpinner extends MatProgressSpinner {
3838
constructor(elementRef: ElementRef<HTMLElement>, platform: Platform, document: any, animationMode: string, defaults?: MatProgressSpinnerDefaultOptions);
39-
static ngAcceptInputType_diameter: number | string | null | undefined;
40-
static ngAcceptInputType_strokeWidth: number | string | null | undefined;
41-
static ngAcceptInputType_value: number | string | null | undefined;
4239
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatSpinner, "mat-spinner", never, { 'color': "color" }, {}, never>;
4340
static ɵfac: i0.ɵɵFactoryDef<MatSpinner>;
4441
}

tools/public_api_guard/material/sidenav.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,16 @@ export declare class MatSidenav extends MatDrawer {
9494
fixedBottomGap: number;
9595
fixedInViewport: boolean;
9696
fixedTopGap: number;
97-
static ngAcceptInputType_autoFocus: boolean | string | null | undefined;
98-
static ngAcceptInputType_disableClose: boolean | string | null | undefined;
9997
static ngAcceptInputType_fixedBottomGap: number | string | null | undefined;
10098
static ngAcceptInputType_fixedInViewport: boolean | string | null | undefined;
10199
static ngAcceptInputType_fixedTopGap: number | string | null | undefined;
102-
static ngAcceptInputType_opened: boolean | string | null | undefined;
103100
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatSidenav, "mat-sidenav", ["matSidenav"], { 'fixedInViewport': "fixedInViewport", 'fixedTopGap': "fixedTopGap", 'fixedBottomGap': "fixedBottomGap" }, {}, never>;
104101
static ɵfac: i0.ɵɵFactoryDef<MatSidenav>;
105102
}
106103

107104
export declare class MatSidenavContainer extends MatDrawerContainer {
108105
_allDrawers: QueryList<MatSidenav>;
109106
_content: MatSidenavContent;
110-
static ngAcceptInputType_autosize: boolean | string | null | undefined;
111107
static ngAcceptInputType_hasBackdrop: boolean | string | null | undefined;
112108
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatSidenavContainer, "mat-sidenav-container", ["matSidenavContainer"], {}, {}, ["_content", "_allDrawers"]>;
113109
static ɵfac: i0.ɵɵFactoryDef<MatSidenavContainer>;

tools/public_api_guard/material/stepper.d.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ export declare class MatHorizontalStepper extends MatStepper {
1111
static ngAcceptInputType_completed: boolean | string | null | undefined;
1212
static ngAcceptInputType_editable: boolean | string | null | undefined;
1313
static ngAcceptInputType_hasError: boolean | string | null | undefined;
14-
static ngAcceptInputType_linear: boolean | string | null | undefined;
1514
static ngAcceptInputType_optional: boolean | string | null | undefined;
16-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
1715
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatHorizontalStepper, "mat-horizontal-stepper", ["matHorizontalStepper"], { 'selectedIndex': "selectedIndex", 'labelPosition': "labelPosition" }, {}, never>;
1816
static ɵfac: i0.ɵɵFactoryDef<MatHorizontalStepper>;
1917
}
@@ -22,10 +20,6 @@ export declare class MatStep extends CdkStep implements ErrorStateMatcher {
2220
stepLabel: MatStepLabel;
2321
constructor(stepper: MatStepper, _errorStateMatcher: ErrorStateMatcher, stepperOptions?: StepperOptions);
2422
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
25-
static ngAcceptInputType_completed: boolean | string | null | undefined;
26-
static ngAcceptInputType_editable: boolean | string | null | undefined;
27-
static ngAcceptInputType_hasError: boolean | string | null | undefined;
28-
static ngAcceptInputType_optional: boolean | string | null | undefined;
2923
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatStep, "mat-step", ["matStep"], {}, {}, ["stepLabel"]>;
3024
static ɵfac: i0.ɵɵFactoryDef<MatStep>;
3125
}
@@ -74,9 +68,7 @@ export declare class MatStepper extends CdkStepper implements AfterContentInit {
7468
static ngAcceptInputType_completed: boolean | string | null | undefined;
7569
static ngAcceptInputType_editable: boolean | string | null | undefined;
7670
static ngAcceptInputType_hasError: boolean | string | null | undefined;
77-
static ngAcceptInputType_linear: boolean | string | null | undefined;
7871
static ngAcceptInputType_optional: boolean | string | null | undefined;
79-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
8072
static ɵdir: i0.ɵɵDirectiveDefWithMeta<MatStepper, "[matStepper]", never, { 'disableRipple': "disableRipple" }, { 'animationDone': "animationDone" }, ["_steps", "_icons"]>;
8173
static ɵfac: i0.ɵɵFactoryDef<MatStepper>;
8274
}
@@ -127,9 +119,7 @@ export declare class MatVerticalStepper extends MatStepper {
127119
static ngAcceptInputType_completed: boolean | string | null | undefined;
128120
static ngAcceptInputType_editable: boolean | string | null | undefined;
129121
static ngAcceptInputType_hasError: boolean | string | null | undefined;
130-
static ngAcceptInputType_linear: boolean | string | null | undefined;
131122
static ngAcceptInputType_optional: boolean | string | null | undefined;
132-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
133123
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatVerticalStepper, "mat-vertical-stepper", ["matVerticalStepper"], { 'selectedIndex': "selectedIndex" }, {}, never>;
134124
static ɵfac: i0.ɵɵFactoryDef<MatVerticalStepper>;
135125
}

tools/public_api_guard/material/table.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export declare class MatCellDef extends CdkCellDef {
1212
export declare class MatColumnDef extends CdkColumnDef {
1313
name: string;
1414
static ngAcceptInputType_sticky: boolean | string | null | undefined;
15-
static ngAcceptInputType_stickyEnd: boolean | string | null | undefined;
1615
static ɵdir: i0.ɵɵDirectiveDefWithMeta<MatColumnDef, "[matColumnDef]", never, { 'sticky': "sticky", 'name': "matColumnDef" }, {}, never>;
1716
static ɵfac: i0.ɵɵFactoryDef<MatColumnDef>;
1817
}
@@ -73,7 +72,6 @@ export declare class MatRowDef<T> extends CdkRowDef<T> {
7372

7473
export declare class MatTable<T> extends CdkTable<T> {
7574
protected stickyCssClass: string;
76-
static ngAcceptInputType_multiTemplateDataRows: boolean | string | null | undefined;
7775
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatTable<any>, "mat-table, table[mat-table]", ["matTable"], {}, {}, never>;
7876
static ɵfac: i0.ɵɵFactoryDef<MatTable<any>>;
7977
}

tools/public_api_guard/material/tabs.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ export declare class MatTabGroup extends _MatTabGroupBase {
175175
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, defaultConfig?: MatTabsConfig, animationMode?: string);
176176
static ngAcceptInputType_animationDuration: number | string | null | undefined;
177177
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
178-
static ngAcceptInputType_dynamicHeight: boolean | string | null | undefined;
179-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
180178
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatTabGroup, "mat-tab-group", ["matTabGroup"], { 'color': "color", 'disableRipple': "disableRipple" }, {}, ["_allTabs"]>;
181179
static ɵfac: i0.ɵɵFactoryDef<MatTabGroup>;
182180
}
@@ -190,7 +188,6 @@ export declare class MatTabHeader extends _MatTabHeaderBase {
190188
_tabListContainer: ElementRef;
191189
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
192190
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
193-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
194191
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatTabHeader, "mat-tab-header", never, { 'selectedIndex': "selectedIndex" }, { 'selectFocusedIndex': "selectFocusedIndex", 'indexFocused': "indexFocused" }, ["_items"]>;
195192
static ɵfac: i0.ɵɵFactoryDef<MatTabHeader>;
196193
}
@@ -232,7 +229,6 @@ export declare class MatTabNav extends _MatTabNavBase {
232229
constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler,
233230
platform?: Platform, animationMode?: string);
234231
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
235-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
236232
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { 'color': "color" }, {}, ["_items"]>;
237233
static ɵfac: i0.ɵɵFactoryDef<MatTabNav>;
238234
}

0 commit comments

Comments
 (0)