Skip to content

Commit 3f4efd8

Browse files
committed
fixup! refactor: switch acceptance members to type aliases
Update goldens
1 parent 12e633a commit 3f4efd8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+214
-210
lines changed

tools/public_api_guard/cdk/a11y.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export declare class CdkTrapFocus implements OnDestroy, AfterContentInit, DoChec
4747
ngAfterContentInit(): void;
4848
ngDoCheck(): void;
4949
ngOnDestroy(): void;
50-
static ngAcceptInputType_autoCapture: boolean | string | null | undefined;
51-
static ngAcceptInputType_enabled: boolean | string | null | undefined;
50+
static ngAcceptInputType_autoCapture: BooleanInput;
51+
static ngAcceptInputType_enabled: BooleanInput;
5252
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkTrapFocus, "[cdkTrapFocus]", ["cdkTrapFocus"], { 'enabled': "cdkTrapFocus", 'autoCapture': "cdkTrapFocusAutoCapture" }, {}, never>;
5353
static ɵfac: i0.ɵɵFactoryDef<CdkTrapFocus>;
5454
}

tools/public_api_guard/cdk/accordion.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export declare class CdkAccordion implements OnDestroy, OnChanges {
77
ngOnChanges(changes: SimpleChanges): void;
88
ngOnDestroy(): void;
99
openAll(): void;
10-
static ngAcceptInputType_multi: boolean | string | null | undefined;
10+
static ngAcceptInputType_multi: BooleanInput;
1111
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkAccordion, "cdk-accordion, [cdkAccordion]", ["cdkAccordion"], { 'multi': "multi" }, {}, never>;
1212
static ɵfac: i0.ɵɵFactoryDef<CdkAccordion>;
1313
}
@@ -27,8 +27,8 @@ export declare class CdkAccordionItem implements OnDestroy {
2727
ngOnDestroy(): void;
2828
open(): void;
2929
toggle(): void;
30-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
31-
static ngAcceptInputType_expanded: boolean | string | null | undefined;
30+
static ngAcceptInputType_disabled: BooleanInput;
31+
static ngAcceptInputType_expanded: BooleanInput;
3232
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkAccordionItem, "cdk-accordion-item, [cdkAccordionItem]", ["cdkAccordionItem"], { 'expanded': "expanded", 'disabled': "disabled" }, { 'closed': "closed", 'opened': "opened", 'destroyed': "destroyed", 'expandedChange': "expandedChange" }, never>;
3333
static ɵfac: i0.ɵɵFactoryDef<CdkAccordionItem>;
3434
}

tools/public_api_guard/cdk/coercion.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export declare function _isNumberValue(value: any): boolean;
22

3+
export declare type BooleanInput = string | boolean | null | undefined;
4+
35
export declare function coerceArray<T>(value: T | T[]): T[];
46

57
export declare function coerceBooleanProperty(value: any): boolean;
@@ -10,3 +12,5 @@ export declare function coerceElement<T>(elementOrRef: ElementRef<T> | T): T;
1012

1113
export declare function coerceNumberProperty(value: any): number;
1214
export declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
15+
16+
export declare type NumberInput = string | number | null | undefined;

tools/public_api_guard/cdk/drag-drop.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDes
4646
ngOnChanges(changes: SimpleChanges): void;
4747
ngOnDestroy(): void;
4848
reset(): void;
49-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
49+
static ngAcceptInputType_disabled: BooleanInput;
5050
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkDrag<any>, "[cdkDrag]", ["cdkDrag"], { 'data': "cdkDragData", 'lockAxis': "cdkDragLockAxis", 'rootElementSelector': "cdkDragRootElement", 'boundaryElement': "cdkDragBoundary", 'dragStartDelay': "cdkDragStartDelay", 'freeDragPosition': "cdkDragFreeDragPosition", 'disabled': "cdkDragDisabled", 'constrainPosition': "cdkDragConstrainPosition", 'previewClass': "cdkDragPreviewClass" }, { 'started': "cdkDragStarted", 'released': "cdkDragReleased", 'ended': "cdkDragEnded", 'entered': "cdkDragEntered", 'exited': "cdkDragExited", 'dropped': "cdkDragDropped", 'moved': "cdkDragMoved" }, ["_previewTemplate", "_placeholderTemplate", "_handles"]>;
5151
static ɵfac: i0.ɵɵFactoryDef<CdkDrag<any>>;
5252
}
@@ -90,7 +90,7 @@ export declare class CdkDragHandle implements OnDestroy {
9090
element: ElementRef<HTMLElement>;
9191
constructor(element: ElementRef<HTMLElement>, parentDrag?: any);
9292
ngOnDestroy(): void;
93-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
93+
static ngAcceptInputType_disabled: BooleanInput;
9494
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkDragHandle, "[cdkDragHandle]", never, { 'disabled': "cdkDragHandleDisabled" }, {}, never>;
9595
static ɵfac: i0.ɵɵFactoryDef<CdkDragHandle>;
9696
}
@@ -169,9 +169,9 @@ export declare class CdkDropList<T = any> implements AfterContentInit, OnDestroy
169169
ngAfterContentInit(): void;
170170
ngOnDestroy(): void;
171171
start(): void;
172-
static ngAcceptInputType_autoScrollDisabled: boolean | string | null | undefined;
173-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
174-
static ngAcceptInputType_sortingDisabled: boolean | string | null | undefined;
172+
static ngAcceptInputType_autoScrollDisabled: BooleanInput;
173+
static ngAcceptInputType_disabled: BooleanInput;
174+
static ngAcceptInputType_sortingDisabled: BooleanInput;
175175
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkDropList<any>, "[cdkDropList], cdk-drop-list", ["cdkDropList"], { 'connectedTo': "cdkDropListConnectedTo", 'data': "cdkDropListData", 'orientation': "cdkDropListOrientation", 'id': "id", 'lockAxis': "cdkDropListLockAxis", 'disabled': "cdkDropListDisabled", 'sortingDisabled': "cdkDropListSortingDisabled", 'enterPredicate': "cdkDropListEnterPredicate", 'autoScrollDisabled': "cdkDropListAutoScrollDisabled" }, { 'dropped': "cdkDropListDropped", 'entered': "cdkDropListEntered", 'exited': "cdkDropListExited", 'sorted': "cdkDropListSorted" }, ["_draggables"]>;
176176
static ɵfac: i0.ɵɵFactoryDef<CdkDropList<any>>;
177177
}
@@ -180,7 +180,7 @@ export declare class CdkDropListGroup<T> implements OnDestroy {
180180
readonly _items: Set<T>;
181181
disabled: boolean;
182182
ngOnDestroy(): void;
183-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
183+
static ngAcceptInputType_disabled: BooleanInput;
184184
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkDropListGroup<any>, "[cdkDropListGroup]", ["cdkDropListGroup"], { 'disabled': "cdkDropListGroupDisabled" }, {}, never>;
185185
static ɵfac: i0.ɵɵFactoryDef<CdkDropListGroup<any>>;
186186
}

tools/public_api_guard/cdk/observers.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export declare class CdkObserveContent implements AfterContentInit, OnDestroy {
55
constructor(_contentObserver: ContentObserver, _elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
66
ngAfterContentInit(): void;
77
ngOnDestroy(): void;
8-
static ngAcceptInputType_debounce: boolean | string | null | undefined;
9-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
8+
static ngAcceptInputType_debounce: BooleanInput;
9+
static ngAcceptInputType_disabled: BooleanInput;
1010
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkObserveContent, "[cdkObserveContent]", ["cdkObserveContent"], { 'disabled': "cdkObserveContentDisabled", 'debounce': "debounce" }, { 'event': "cdkObserveContent" }, never>;
1111
static ɵfac: i0.ɵɵFactoryDef<CdkObserveContent>;
1212
}

tools/public_api_guard/cdk/overlay.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ export declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
3434
constructor(_overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, scrollStrategyFactory: any, _dir: Directionality);
3535
ngOnChanges(changes: SimpleChanges): void;
3636
ngOnDestroy(): void;
37-
static ngAcceptInputType_flexibleDimensions: boolean | string | null | undefined;
38-
static ngAcceptInputType_growAfterOpen: boolean | string | null | undefined;
39-
static ngAcceptInputType_hasBackdrop: boolean | string | null | undefined;
40-
static ngAcceptInputType_lockPosition: boolean | string | null | undefined;
41-
static ngAcceptInputType_push: boolean | string | null | undefined;
37+
static ngAcceptInputType_flexibleDimensions: BooleanInput;
38+
static ngAcceptInputType_growAfterOpen: BooleanInput;
39+
static ngAcceptInputType_hasBackdrop: BooleanInput;
40+
static ngAcceptInputType_lockPosition: BooleanInput;
41+
static ngAcceptInputType_push: BooleanInput;
4242
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkConnectedOverlay, "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", ["cdkConnectedOverlay"], { 'origin': "cdkConnectedOverlayOrigin", 'positions': "cdkConnectedOverlayPositions", 'offsetX': "cdkConnectedOverlayOffsetX", 'offsetY': "cdkConnectedOverlayOffsetY", 'width': "cdkConnectedOverlayWidth", 'height': "cdkConnectedOverlayHeight", 'minWidth': "cdkConnectedOverlayMinWidth", 'minHeight': "cdkConnectedOverlayMinHeight", 'backdropClass': "cdkConnectedOverlayBackdropClass", 'panelClass': "cdkConnectedOverlayPanelClass", 'viewportMargin': "cdkConnectedOverlayViewportMargin", 'scrollStrategy': "cdkConnectedOverlayScrollStrategy", 'open': "cdkConnectedOverlayOpen", 'hasBackdrop': "cdkConnectedOverlayHasBackdrop", 'lockPosition': "cdkConnectedOverlayLockPosition", 'flexibleDimensions': "cdkConnectedOverlayFlexibleDimensions", 'growAfterOpen': "cdkConnectedOverlayGrowAfterOpen", 'push': "cdkConnectedOverlayPush" }, { 'backdropClick': "backdropClick", 'positionChange': "positionChange", 'attach': "attach", 'detach': "detach", 'overlayKeydown': "overlayKeydown" }, never>;
4343
static ɵfac: i0.ɵɵFactoryDef<CdkConnectedOverlay>;
4444
}

tools/public_api_guard/cdk/scrolling.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ export declare class CdkFixedSizeVirtualScroll implements OnChanges {
4343
maxBufferPx: number;
4444
minBufferPx: number;
4545
ngOnChanges(): void;
46-
static ngAcceptInputType_itemSize: string | number | null | undefined;
47-
static ngAcceptInputType_maxBufferPx: string | number | null | undefined;
48-
static ngAcceptInputType_minBufferPx: string | number | null | undefined;
46+
static ngAcceptInputType_itemSize: NumberInput;
47+
static ngAcceptInputType_maxBufferPx: NumberInput;
48+
static ngAcceptInputType_minBufferPx: NumberInput;
4949
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkFixedSizeVirtualScroll, "cdk-virtual-scroll-viewport[itemSize]", never, { 'itemSize': "itemSize", 'minBufferPx': "minBufferPx", 'maxBufferPx': "maxBufferPx" }, {}, never>;
5050
static ɵfac: i0.ɵɵFactoryDef<CdkFixedSizeVirtualScroll>;
5151
}

tools/public_api_guard/cdk/stepper.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ export declare class CdkStep implements OnChanges {
1919
ngOnChanges(): void;
2020
reset(): void;
2121
select(): void;
22-
static ngAcceptInputType_completed: boolean | string | null | undefined;
23-
static ngAcceptInputType_editable: boolean | string | null | undefined;
24-
static ngAcceptInputType_hasError: boolean | string | null | undefined;
25-
static ngAcceptInputType_optional: boolean | string | null | undefined;
22+
static ngAcceptInputType_completed: BooleanInput;
23+
static ngAcceptInputType_editable: BooleanInput;
24+
static ngAcceptInputType_hasError: BooleanInput;
25+
static ngAcceptInputType_optional: BooleanInput;
2626
static ɵcmp: i0.ɵɵComponentDefWithMeta<CdkStep, "cdk-step", ["cdkStep"], { 'stepControl': "stepControl", 'label': "label", 'errorMessage': "errorMessage", 'ariaLabel': "aria-label", 'ariaLabelledby': "aria-labelledby", 'state': "state", 'editable': "editable", 'optional': "optional", 'completed': "completed", 'hasError': "hasError" }, {}, ["stepLabel"]>;
2727
static ɵfac: i0.ɵɵFactoryDef<CdkStep>;
2828
}
@@ -67,12 +67,12 @@ export declare class CdkStepper implements AfterViewInit, OnDestroy {
6767
ngOnDestroy(): void;
6868
previous(): void;
6969
reset(): void;
70-
static ngAcceptInputType_completed: boolean | string | null | undefined;
71-
static ngAcceptInputType_editable: boolean | string | null | undefined;
72-
static ngAcceptInputType_hasError: boolean | string | null | undefined;
73-
static ngAcceptInputType_linear: boolean | string | null | undefined;
74-
static ngAcceptInputType_optional: boolean | string | null | undefined;
75-
static ngAcceptInputType_selectedIndex: number | string | null | undefined;
70+
static ngAcceptInputType_completed: BooleanInput;
71+
static ngAcceptInputType_editable: BooleanInput;
72+
static ngAcceptInputType_hasError: BooleanInput;
73+
static ngAcceptInputType_linear: BooleanInput;
74+
static ngAcceptInputType_optional: BooleanInput;
75+
static ngAcceptInputType_selectedIndex: NumberInput;
7676
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkStepper, "[cdkStepper]", ["cdkStepper"], { 'linear': "linear", 'selectedIndex': "selectedIndex", 'selected': "selected" }, { 'selectionChange': "selectionChange" }, ["_steps", "_stepHeader"]>;
7777
static ɵfac: i0.ɵɵFactoryDef<CdkStepper>;
7878
}

tools/public_api_guard/cdk/table.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export declare class CdkColumnDef extends _CdkColumnDefBase implements CanStick
8181
headerCell: CdkHeaderCellDef;
8282
name: string;
8383
stickyEnd: boolean;
84-
static ngAcceptInputType_sticky: boolean | string | null | undefined;
85-
static ngAcceptInputType_stickyEnd: boolean | string | null | undefined;
84+
static ngAcceptInputType_sticky: BooleanInput;
85+
static ngAcceptInputType_stickyEnd: BooleanInput;
8686
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkColumnDef, "[cdkColumnDef]", never, { 'sticky': "sticky", 'name': "cdkColumnDef", 'stickyEnd': "stickyEnd" }, {}, ["cell", "headerCell", "footerCell"]>;
8787
static ɵfac: i0.ɵɵFactoryDef<CdkColumnDef>;
8888
}
@@ -108,7 +108,7 @@ export declare class CdkFooterRow {
108108
export declare class CdkFooterRowDef extends _CdkFooterRowDefBase implements CanStick, OnChanges {
109109
constructor(template: TemplateRef<any>, _differs: IterableDiffers);
110110
ngOnChanges(changes: SimpleChanges): void;
111-
static ngAcceptInputType_sticky: boolean | string | null | undefined;
111+
static ngAcceptInputType_sticky: BooleanInput;
112112
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkFooterRowDef, "[cdkFooterRowDef]", never, { 'columns': "cdkFooterRowDef", 'sticky': "cdkFooterRowDefSticky" }, {}, never>;
113113
static ɵfac: i0.ɵɵFactoryDef<CdkFooterRowDef>;
114114
}
@@ -134,7 +134,7 @@ export declare class CdkHeaderRow {
134134
export declare class CdkHeaderRowDef extends _CdkHeaderRowDefBase implements CanStick, OnChanges {
135135
constructor(template: TemplateRef<any>, _differs: IterableDiffers);
136136
ngOnChanges(changes: SimpleChanges): void;
137-
static ngAcceptInputType_sticky: boolean | string | null | undefined;
137+
static ngAcceptInputType_sticky: BooleanInput;
138138
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkHeaderRowDef, "[cdkHeaderRowDef]", never, { 'columns': "cdkHeaderRowDef", 'sticky': "cdkHeaderRowDefSticky" }, {}, never>;
139139
static ɵfac: i0.ɵɵFactoryDef<CdkHeaderRowDef>;
140140
}
@@ -193,7 +193,7 @@ export declare class CdkTable<T> implements AfterContentChecked, CollectionViewe
193193
updateStickyColumnStyles(): void;
194194
updateStickyFooterRowStyles(): void;
195195
updateStickyHeaderRowStyles(): void;
196-
static ngAcceptInputType_multiTemplateDataRows: boolean | string | null | undefined;
196+
static ngAcceptInputType_multiTemplateDataRows: BooleanInput;
197197
static ɵcmp: i0.ɵɵComponentDefWithMeta<CdkTable<any>, "cdk-table, table[cdk-table]", ["cdkTable"], { 'trackBy': "trackBy", 'dataSource': "dataSource", 'multiTemplateDataRows': "multiTemplateDataRows" }, {}, ["_contentColumnDefs", "_contentRowDefs", "_contentHeaderRowDefs", "_contentFooterRowDefs"]>;
198198
static ɵfac: i0.ɵɵFactoryDef<CdkTable<any>>;
199199
}

tools/public_api_guard/cdk/text-field.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ export declare class CdkTextareaAutosize implements AfterViewInit, DoCheck, OnDe
3636
ngOnDestroy(): void;
3737
reset(): void;
3838
resizeToFitContent(force?: boolean): void;
39-
static ngAcceptInputType_enabled: boolean | string | null | undefined;
40-
static ngAcceptInputType_maxRows: number | string | null | undefined;
41-
static ngAcceptInputType_minRows: number | string | null | undefined;
39+
static ngAcceptInputType_enabled: BooleanInput;
40+
static ngAcceptInputType_maxRows: NumberInput;
41+
static ngAcceptInputType_minRows: NumberInput;
4242
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkTextareaAutosize, "textarea[cdkTextareaAutosize]", ["cdkTextareaAutosize"], { 'minRows': "cdkAutosizeMinRows", 'maxRows': "cdkAutosizeMaxRows", 'enabled': "cdkTextareaAutosize" }, {}, never>;
4343
static ɵfac: i0.ɵɵFactoryDef<CdkTextareaAutosize>;
4444
}

tools/public_api_guard/cdk/tree.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export declare class CdkTreeNodePadding<T> implements OnDestroy {
113113
_paddingIndent(): string | null;
114114
_setPadding(forceChange?: boolean): void;
115115
ngOnDestroy(): void;
116-
static ngAcceptInputType_level: number | string | null | undefined;
116+
static ngAcceptInputType_level: NumberInput;
117117
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkTreeNodePadding<any>, "[cdkTreeNodePadding]", never, { 'level': "cdkTreeNodePadding", 'indent': "cdkTreeNodePaddingIndent" }, {}, never>;
118118
static ɵfac: i0.ɵɵFactoryDef<CdkTreeNodePadding<any>>;
119119
}
@@ -125,7 +125,7 @@ export declare class CdkTreeNodeToggle<T> {
125125
recursive: boolean;
126126
constructor(_tree: CdkTree<T>, _treeNode: CdkTreeNode<T>);
127127
_toggle(event: Event): void;
128-
static ngAcceptInputType_recursive: boolean | string | null | undefined;
128+
static ngAcceptInputType_recursive: BooleanInput;
129129
static ɵdir: i0.ɵɵDirectiveDefWithMeta<CdkTreeNodeToggle<any>, "[cdkTreeNodeToggle]", never, { 'recursive': "cdkTreeNodeToggleRecursive" }, {}, never>;
130130
static ɵfac: i0.ɵɵFactoryDef<CdkTreeNodeToggle<any>>;
131131
}

tools/public_api_guard/material/autocomplete.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export declare class MatAutocomplete extends _MatAutocompleteMixinBase implement
4646
_setScrollTop(scrollTop: number): void;
4747
_setVisibility(): void;
4848
ngAfterContentInit(): void;
49-
static ngAcceptInputType_autoActiveFirstOption: boolean | string | null | undefined;
50-
static ngAcceptInputType_disableRipple: boolean | string | null | undefined;
49+
static ngAcceptInputType_autoActiveFirstOption: BooleanInput;
50+
static ngAcceptInputType_disableRipple: BooleanInput;
5151
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatAutocomplete, "mat-autocomplete", ["matAutocomplete"], { 'disableRipple': "disableRipple", 'displayWith': "displayWith", 'autoActiveFirstOption': "autoActiveFirstOption", 'panelWidth': "panelWidth", 'classList': "class" }, { 'optionSelected': "optionSelected", 'opened': "opened", 'closed': "closed" }, ["options", "optionGroups"]>;
5252
static ɵfac: i0.ɵɵFactoryDef<MatAutocomplete>;
5353
}
@@ -103,7 +103,7 @@ export declare class MatAutocompleteTrigger implements ControlValueAccessor, Aft
103103
setDisabledState(isDisabled: boolean): void;
104104
updatePosition(): void;
105105
writeValue(value: any): void;
106-
static ngAcceptInputType_autocompleteDisabled: boolean | string | null | undefined;
106+
static ngAcceptInputType_autocompleteDisabled: BooleanInput;
107107
static ɵdir: i0.ɵɵDirectiveDefWithMeta<MatAutocompleteTrigger, "input[matAutocomplete], textarea[matAutocomplete]", ["matAutocompleteTrigger"], { 'autocomplete': "matAutocomplete", 'position': "matAutocompletePosition", 'connectedTo': "matAutocompleteConnectedTo", 'autocompleteAttribute': "autocomplete", 'autocompleteDisabled': "matAutocompleteDisabled" }, {}, never>;
108108
static ɵfac: i0.ɵɵFactoryDef<MatAutocompleteTrigger>;
109109
}

tools/public_api_guard/material/badge.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export declare class MatBadge extends _MatBadgeMixinBase implements OnDestroy, O
1414
isAfter(): boolean;
1515
ngOnChanges(changes: SimpleChanges): void;
1616
ngOnDestroy(): void;
17-
static ngAcceptInputType_disabled: boolean | string | null | undefined;
18-
static ngAcceptInputType_hidden: boolean | string | null | undefined;
19-
static ngAcceptInputType_overlap: boolean | string | null | undefined;
17+
static ngAcceptInputType_disabled: BooleanInput;
18+
static ngAcceptInputType_hidden: BooleanInput;
19+
static ngAcceptInputType_overlap: BooleanInput;
2020
static ɵdir: i0.ɵɵDirectiveDefWithMeta<MatBadge, "[matBadge]", never, { 'disabled': "matBadgeDisabled", 'color': "matBadgeColor", 'overlap': "matBadgeOverlap", 'position': "matBadgePosition", 'content': "matBadge", 'description': "matBadgeDescription", 'size': "matBadgeSize", 'hidden': "matBadgeHidden" }, {}, never>;
2121
static ɵfac: i0.ɵɵFactoryDef<MatBadge>;
2222
}

0 commit comments

Comments
 (0)