Skip to content

Commit

Permalink
build: update to TypeScript 4.2 (#22262)
Browse files Browse the repository at this point in the history
Updates to TS 4.2, tslib 2.1 and resolves some compilation errors.
  • Loading branch information
crisbeto authored Mar 17, 2021
1 parent 397710d commit fef9bf5
Show file tree
Hide file tree
Showing 60 changed files with 179 additions and 123 deletions.
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@
},
"version": "12.0.0-next.2",
"dependencies": {
"@angular/animations": "^12.0.0-next.0",
"@angular/common": "^12.0.0-next.0",
"@angular/compiler": "^12.0.0-next.0",
"@angular/core": "^12.0.0-next.0",
"@angular/elements": "^12.0.0-next.0",
"@angular/forms": "^12.0.0-next.0",
"@angular/platform-browser": "^12.0.0-next.0",
"@angular/animations": "^12.0.0-next.5",
"@angular/common": "^12.0.0-next.5",
"@angular/compiler": "^12.0.0-next.5",
"@angular/core": "^12.0.0-next.5",
"@angular/elements": "^12.0.0-next.5",
"@angular/forms": "^12.0.0-next.5",
"@angular/platform-browser": "^12.0.0-next.5",
"@types/googlemaps": "^3.43.1",
"@types/youtube": "^0.0.40",
"@webcomponents/custom-elements": "^1.1.0",
Expand All @@ -67,20 +67,20 @@
"rxjs": "^6.5.3",
"rxjs-tslint-rules": "^4.33.1",
"systemjs": "0.19.43",
"tslib": "^2.0.0",
"tslib": "^2.1.0",
"zone.js": "~0.11.3"
},
"devDependencies": {
"@angular-devkit/build-optimizer": "^0.1200.0-next.0",
"@angular-devkit/core": "^12.0.0-next.0",
"@angular-devkit/schematics": "^12.0.0-next.0",
"@angular/bazel": "^12.0.0-next.0",
"@angular-devkit/build-optimizer": "^0.1200.0-next.4",
"@angular-devkit/core": "^12.0.0-next.4",
"@angular-devkit/schematics": "^12.0.0-next.4",
"@angular/bazel": "^12.0.0-next.5",
"@angular/benchpress": "^0.2.1",
"@angular/compiler-cli": "^12.0.0-next.0",
"@angular/compiler-cli": "^12.0.0-next.5",
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#a8dbb0d8cd8de1e86a4ec4ea66b5bd89a47d4876",
"@angular/platform-browser-dynamic": "^12.0.0-next.0",
"@angular/platform-server": "^12.0.0-next.0",
"@angular/router": "^12.0.0-next.0",
"@angular/platform-browser-dynamic": "^12.0.0-next.5",
"@angular/platform-server": "^12.0.0-next.5",
"@angular/router": "^12.0.0-next.5",
"@axe-core/webdriverjs": "^4.1.0",
"@bazel/bazelisk": "^1.4.0",
"@bazel/buildifier": "^4.0.0",
Expand Down Expand Up @@ -140,7 +140,7 @@
"@material/touch-target": "11.0.0-canary.67d780c79.0",
"@material/typography": "11.0.0-canary.67d780c79.0",
"@octokit/rest": "18.3.5",
"@schematics/angular": "^12.0.0-next.0",
"@schematics/angular": "^12.0.0-next.4",
"@types/autoprefixer": "^9.7.2",
"@types/browser-sync": "^2.26.1",
"@types/fs-extra": "^9.0.5",
Expand Down Expand Up @@ -217,11 +217,11 @@
"tsickle": "0.39.1",
"tslint": "^6.1.3",
"tsutils": "^3.17.1",
"typescript": "~4.1.2",
"typescript": "~4.2.3",
"vrsource-tslint-rules": "6.0.0",
"yaml": "^1.10.0"
},
"resolutions": {
"dgeni-packages/typescript": "4.1.2"
"dgeni-packages/typescript": "4.2.3"
}
}
2 changes: 1 addition & 1 deletion packages.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# version for the placeholders.
ANGULAR_PACKAGE_VERSION = "^12.0.0-0 || ^13.0.0-0"
MDC_PACKAGE_VERSION = "^9.0.0-canary.419e03572.0"
TSLIB_PACKAGE_VERSION = "^2.0.0"
TSLIB_PACKAGE_VERSION = "^2.1.0"

# Each placer holder is used to stamp versions during the build process, replacing the key with it's
# value pair. These replacements occur during building of `npm_package` and `ng_package` stamping in
Expand Down
4 changes: 2 additions & 2 deletions src/cdk-experimental/selection/selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class CdkSelection<T> implements OnInit, AfterContentChecked, CollectionV

/** Toggles selection for a given value. `index` is required if `trackBy` is used. */
toggleSelection(value: T, index?: number) {
if (this.trackByFn && index == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {
if (!!this.trackByFn && index == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {
throw Error('CdkSelection: index required when trackBy is used');
}

Expand Down Expand Up @@ -167,7 +167,7 @@ export class CdkSelection<T> implements OnInit, AfterContentChecked, CollectionV

/** Checks whether a value is selected. `index` is required if `trackBy` is used. */
isSelected(value: T, index?: number) {
if (this.trackByFn && index == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {
if (!!this.trackByFn && index == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {
throw Error('CdkSelection: index required when trackBy is used');
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class MapMarkerClusterer implements OnInit, AfterContentInit, OnChanges,
if (changes['batchSizeIE'] && _batchSizeIE !== undefined) {
clusterer.setBatchSizeIE(_batchSizeIE);
}
if (changes['calculator'] && _calculator) {
if (changes['calculator'] && !!_calculator) {
clusterer.setCalculator(_calculator);
}
if (changes['clusterClass'] && _clusterClass !== undefined) {
Expand Down
6 changes: 3 additions & 3 deletions src/material-experimental/mdc-chips/chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
import {
CanColor,
CanColorCtor,
CanDisable,
CanDisableRipple,
CanDisableRippleCtor,
HasTabIndex,
Expand Down Expand Up @@ -87,8 +88,7 @@ export class MatChipCssInternalOnly { }
* Boilerplate for applying mixins to MatChip.
* @docs-private
*/
abstract class MatChipBase {
abstract disabled: boolean;
class MatChipBase {
constructor(public _elementRef: ElementRef) {}
}

Expand Down Expand Up @@ -126,7 +126,7 @@ const _MatChipMixinBase:
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class MatChip extends _MatChipMixinBase implements AfterContentInit, AfterViewInit,
CanColor, CanDisableRipple, HasTabIndex, OnDestroy {
CanColor, CanDisableRipple, CanDisable, HasTabIndex, OnDestroy {
/** The ripple animation configuration to use for the chip. */
readonly _rippleAnimation: RippleAnimationConfig = RIPPLE_ANIMATION_CONFIG;

Expand Down
6 changes: 3 additions & 3 deletions src/material/chips/chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
import {
CanColor,
CanColorCtor,
CanDisable,
CanDisableRipple,
CanDisableRippleCtor,
HasTabIndex,
Expand Down Expand Up @@ -88,8 +89,7 @@ export const MAT_CHIP_TRAILING_ICON =

// Boilerplate for applying mixins to MatChip.
/** @docs-private */
abstract class MatChipBase {
abstract disabled: boolean;
class MatChipBase {
constructor(public _elementRef: ElementRef) {}
}

Expand Down Expand Up @@ -146,7 +146,7 @@ export class MatChipTrailingIcon {}
},
})
export class MatChip extends _MatChipMixinBase implements FocusableOption, OnDestroy, CanColor,
CanDisableRipple, RippleTarget, HasTabIndex {
CanDisableRipple, RippleTarget, HasTabIndex, CanDisable {

/** Reference to the RippleRenderer for the chip. */
private _chipRipple: RippleRenderer;
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/a11y.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export declare class A11yModule {
constructor(highContrastModeDetector: HighContrastModeDetector);
static ɵfac: i0.ɵɵFactoryDef<A11yModule, never>;
static ɵinj: i0.ɵɵInjectorDef<A11yModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<A11yModule, [typeof i1.CdkAriaLive, typeof i2.CdkTrapFocus, typeof i3.CdkMonitorFocus], [typeof i4.PlatformModule, typeof i5.ObserversModule], [typeof i1.CdkAriaLive, typeof i2.CdkTrapFocus, typeof i3.CdkMonitorFocus]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/accordion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export declare class CdkAccordionItem implements OnDestroy {
}

export declare class CdkAccordionModule {
static ɵfac: i0.ɵɵFactoryDef<CdkAccordionModule, never>;
static ɵinj: i0.ɵɵInjectorDef<CdkAccordionModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CdkAccordionModule, [typeof i1.CdkAccordion, typeof i2.CdkAccordionItem], never, [typeof i1.CdkAccordion, typeof i2.CdkAccordionItem]>;
}
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/bidi.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export declare class BidiModule {
static ɵfac: i0.ɵɵFactoryDef<BidiModule, never>;
static ɵinj: i0.ɵɵInjectorDef<BidiModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<BidiModule, [typeof i1.Dir], never, [typeof i1.Dir]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/clipboard.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export declare class Clipboard {
}

export declare class ClipboardModule {
static ɵfac: i0.ɵɵFactoryDef<ClipboardModule, never>;
static ɵinj: i0.ɵɵInjectorDef<ClipboardModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<ClipboardModule, [typeof i1.CdkCopyToClipboard], never, [typeof i1.CdkCopyToClipboard]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/drag-drop.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export interface DragDropConfig extends Partial<DragRefConfig> {
}

export declare class DragDropModule {
static ɵfac: i0.ɵɵFactoryDef<DragDropModule, never>;
static ɵinj: i0.ɵɵInjectorDef<DragDropModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<DragDropModule, [typeof i1.CdkDropList, typeof i2.CdkDropListGroup, typeof i3.CdkDrag, typeof i4.CdkDragHandle, typeof i5.CdkDragPreview, typeof i6.CdkDragPlaceholder], never, [typeof i7.CdkScrollableModule, typeof i1.CdkDropList, typeof i2.CdkDropListGroup, typeof i3.CdkDrag, typeof i4.CdkDragHandle, typeof i5.CdkDragPreview, typeof i6.CdkDragPlaceholder]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/layout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface BreakpointState {
}

export declare class LayoutModule {
static ɵfac: i0.ɵɵFactoryDef<LayoutModule, never>;
static ɵinj: i0.ɵɵInjectorDef<LayoutModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<LayoutModule, never, never, never>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/observers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export declare class MutationObserverFactory {
}

export declare class ObserversModule {
static ɵfac: i0.ɵɵFactoryDef<ObserversModule, never>;
static ɵinj: i0.ɵɵInjectorDef<ObserversModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<ObserversModule, [typeof CdkObserveContent], never, [typeof CdkObserveContent]>;
}
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/overlay.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export declare class OverlayKeyboardDispatcher extends BaseOverlayDispatcher {
}

export declare class OverlayModule {
static ɵfac: i0.ɵɵFactoryDef<OverlayModule, never>;
static ɵinj: i0.ɵɵInjectorDef<OverlayModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<OverlayModule, [typeof i1.CdkConnectedOverlay, typeof i1.CdkOverlayOrigin], [typeof i2.BidiModule, typeof i3.PortalModule, typeof i4.ScrollingModule], [typeof i1.CdkConnectedOverlay, typeof i1.CdkOverlayOrigin, typeof i4.ScrollingModule]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/platform.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export declare class Platform {
}

export declare class PlatformModule {
static ɵfac: i0.ɵɵFactoryDef<PlatformModule, never>;
static ɵinj: i0.ɵɵInjectorDef<PlatformModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PlatformModule, never, never, never>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/portal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export declare class PortalInjector implements Injector {
}

export declare class PortalModule {
static ɵfac: i0.ɵɵFactoryDef<PortalModule, never>;
static ɵinj: i0.ɵɵInjectorDef<PortalModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PortalModule, [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective], never, [typeof CdkPortal, typeof CdkPortalOutlet, typeof TemplatePortalDirective, typeof PortalHostDirective]>;
}
Expand Down
2 changes: 2 additions & 0 deletions tools/public_api_guard/cdk/scrolling.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export declare class CdkScrollable implements OnInit, OnDestroy {
}

export declare class CdkScrollableModule {
static ɵfac: i0.ɵɵFactoryDef<CdkScrollableModule, never>;
static ɵinj: i0.ɵɵInjectorDef<CdkScrollableModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CdkScrollableModule, [typeof i1.CdkScrollable], never, [typeof i1.CdkScrollable]>;
}
Expand Down Expand Up @@ -181,6 +182,7 @@ export declare class ScrollDispatcher implements OnDestroy {
}

export declare class ScrollingModule {
static ɵfac: i0.ɵɵFactoryDef<ScrollingModule, never>;
static ɵinj: i0.ɵɵInjectorDef<ScrollingModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<ScrollingModule, [typeof i2.CdkFixedSizeVirtualScroll, typeof i3.CdkVirtualForOf, typeof i4.CdkVirtualScrollViewport], [typeof i5.BidiModule, typeof i6.PlatformModule, typeof CdkScrollableModule], [typeof i5.BidiModule, typeof CdkScrollableModule, typeof i2.CdkFixedSizeVirtualScroll, typeof i3.CdkVirtualForOf, typeof i4.CdkVirtualScrollViewport]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/stepper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export declare class CdkStepper implements AfterContentInit, AfterViewInit, OnDe
}

export declare class CdkStepperModule {
static ɵfac: i0.ɵɵFactoryDef<CdkStepperModule, never>;
static ɵinj: i0.ɵɵInjectorDef<CdkStepperModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CdkStepperModule, [typeof i1.CdkStep, typeof i1.CdkStepper, typeof i2.CdkStepHeader, typeof i3.CdkStepLabel, typeof i4.CdkStepperNext, typeof i4.CdkStepperPrevious], [typeof i5.BidiModule], [typeof i1.CdkStep, typeof i1.CdkStepper, typeof i2.CdkStepHeader, typeof i3.CdkStepLabel, typeof i4.CdkStepperNext, typeof i4.CdkStepperPrevious]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/table.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export declare class CdkTable<T> implements AfterContentChecked, CollectionViewe
}

export declare class CdkTableModule {
static ɵfac: i0.ɵɵFactoryDef<CdkTableModule, never>;
static ɵinj: i0.ɵɵInjectorDef<CdkTableModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CdkTableModule, [typeof i1.CdkTable, typeof i2.CdkRowDef, typeof i3.CdkCellDef, typeof i2.CdkCellOutlet, typeof i3.CdkHeaderCellDef, typeof i3.CdkFooterCellDef, typeof i3.CdkColumnDef, typeof i3.CdkCell, typeof i2.CdkRow, typeof i3.CdkHeaderCell, typeof i3.CdkFooterCell, typeof i2.CdkHeaderRow, typeof i2.CdkHeaderRowDef, typeof i2.CdkFooterRow, typeof i2.CdkFooterRowDef, typeof i1.DataRowOutlet, typeof i1.HeaderRowOutlet, typeof i1.FooterRowOutlet, typeof i4.CdkTextColumn, typeof i2.CdkNoDataRow, typeof i1.CdkRecycleRows, typeof i1.NoDataRowOutlet], [typeof i5.ScrollingModule], [typeof i1.CdkTable, typeof i2.CdkRowDef, typeof i3.CdkCellDef, typeof i2.CdkCellOutlet, typeof i3.CdkHeaderCellDef, typeof i3.CdkFooterCellDef, typeof i3.CdkColumnDef, typeof i3.CdkCell, typeof i2.CdkRow, typeof i3.CdkHeaderCell, typeof i3.CdkFooterCell, typeof i2.CdkHeaderRow, typeof i2.CdkHeaderRowDef, typeof i2.CdkFooterRow, typeof i2.CdkFooterRowDef, typeof i1.DataRowOutlet, typeof i1.HeaderRowOutlet, typeof i1.FooterRowOutlet, typeof i4.CdkTextColumn, typeof i2.CdkNoDataRow, typeof i1.CdkRecycleRows, typeof i1.NoDataRowOutlet]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/text-field.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export declare class CdkTextareaAutosize implements AfterViewInit, DoCheck, OnDe
}

export declare class TextFieldModule {
static ɵfac: i0.ɵɵFactoryDef<TextFieldModule, never>;
static ɵinj: i0.ɵɵInjectorDef<TextFieldModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<TextFieldModule, [typeof i1.CdkAutofill, typeof i2.CdkTextareaAutosize], [typeof i3.PlatformModule], [typeof i1.CdkAutofill, typeof i2.CdkTextareaAutosize]>;
}
1 change: 1 addition & 0 deletions tools/public_api_guard/cdk/tree.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export declare class CdkTree<T, K = T> implements AfterContentChecked, Collectio
}

export declare class CdkTreeModule {
static ɵfac: i0.ɵɵFactoryDef<CdkTreeModule, never>;
static ɵinj: i0.ɵɵInjectorDef<CdkTreeModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CdkTreeModule, [typeof i1.CdkNestedTreeNode, typeof i2.CdkTreeNodeDef, typeof i3.CdkTreeNodePadding, typeof i4.CdkTreeNodeToggle, typeof i5.CdkTree, typeof i5.CdkTreeNode, typeof i6.CdkTreeNodeOutlet], never, [typeof i1.CdkNestedTreeNode, typeof i2.CdkTreeNodeDef, typeof i3.CdkTreeNodePadding, typeof i4.CdkTreeNodeToggle, typeof i5.CdkTree, typeof i5.CdkTreeNode, typeof i6.CdkTreeNodeOutlet]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/google-maps/google-maps.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export declare class GoogleMap implements OnChanges, OnInit, OnDestroy {
}

export declare class GoogleMapsModule {
static ɵfac: i0.ɵɵFactoryDef<GoogleMapsModule, never>;
static ɵinj: i0.ɵɵInjectorDef<GoogleMapsModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<GoogleMapsModule, [typeof i1.GoogleMap, typeof i2.MapBaseLayer, typeof i3.MapBicyclingLayer, typeof i4.MapCircle, typeof i5.MapDirectionsRenderer, typeof i6.MapGroundOverlay, typeof i7.MapInfoWindow, typeof i8.MapKmlLayer, typeof i9.MapMarker, typeof i10.MapMarkerClusterer, typeof i11.MapPolygon, typeof i12.MapPolyline, typeof i13.MapRectangle, typeof i14.MapTrafficLayer, typeof i15.MapTransitLayer, typeof i16.MapHeatmapLayer], never, [typeof i1.GoogleMap, typeof i2.MapBaseLayer, typeof i3.MapBicyclingLayer, typeof i4.MapCircle, typeof i5.MapDirectionsRenderer, typeof i6.MapGroundOverlay, typeof i7.MapInfoWindow, typeof i8.MapKmlLayer, typeof i9.MapMarker, typeof i10.MapMarkerClusterer, typeof i11.MapPolygon, typeof i12.MapPolyline, typeof i13.MapRectangle, typeof i14.MapTrafficLayer, typeof i15.MapTransitLayer, typeof i16.MapHeatmapLayer]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/material/autocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export interface MatAutocompleteDefaultOptions {
}

export declare class MatAutocompleteModule {
static ɵfac: i0.ɵɵFactoryDef<MatAutocompleteModule, never>;
static ɵinj: i0.ɵɵInjectorDef<MatAutocompleteModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<MatAutocompleteModule, [typeof i1.MatAutocomplete, typeof i2.MatAutocompleteTrigger, typeof i3.MatAutocompleteOrigin], [typeof i4.OverlayModule, typeof i5.MatOptionModule, typeof i5.MatCommonModule, typeof i6.CommonModule], [typeof i1.MatAutocomplete, typeof i2.MatAutocompleteTrigger, typeof i3.MatAutocompleteOrigin, typeof i7.CdkScrollableModule, typeof i5.MatOptionModule, typeof i5.MatCommonModule]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/material/badge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export declare class MatBadge extends _MatBadgeMixinBase implements OnDestroy, O
}

export declare class MatBadgeModule {
static ɵfac: i0.ɵɵFactoryDef<MatBadgeModule, never>;
static ɵinj: i0.ɵɵInjectorDef<MatBadgeModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<MatBadgeModule, [typeof i1.MatBadge], [typeof i2.A11yModule, typeof i3.MatCommonModule], [typeof i1.MatBadge, typeof i3.MatCommonModule]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/material/bottom-sheet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export declare class MatBottomSheetContainer extends BasePortalOutlet implements
}

export declare class MatBottomSheetModule {
static ɵfac: i0.ɵɵFactoryDef<MatBottomSheetModule, never>;
static ɵinj: i0.ɵɵInjectorDef<MatBottomSheetModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<MatBottomSheetModule, [typeof i1.MatBottomSheetContainer], [typeof i2.OverlayModule, typeof i3.MatCommonModule, typeof i4.PortalModule], [typeof i1.MatBottomSheetContainer, typeof i3.MatCommonModule]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/material/button-toggle.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
}

export declare class MatButtonToggleModule {
static ɵfac: i0.ɵɵFactoryDef<MatButtonToggleModule, never>;
static ɵinj: i0.ɵɵInjectorDef<MatButtonToggleModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<MatButtonToggleModule, [typeof i1.MatButtonToggleGroup, typeof i1.MatButtonToggle], [typeof i2.MatCommonModule, typeof i2.MatRippleModule], [typeof i2.MatCommonModule, typeof i1.MatButtonToggleGroup, typeof i1.MatButtonToggle]>;
}
Expand Down
1 change: 1 addition & 0 deletions tools/public_api_guard/material/button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export declare class MatButton extends _MatButtonMixinBase implements AfterViewI
}

export declare class MatButtonModule {
static ɵfac: i0.ɵɵFactoryDef<MatButtonModule, never>;
static ɵinj: i0.ɵɵInjectorDef<MatButtonModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<MatButtonModule, [typeof i1.MatButton, typeof i1.MatAnchor], [typeof i2.MatRippleModule, typeof i2.MatCommonModule], [typeof i1.MatButton, typeof i1.MatAnchor, typeof i2.MatCommonModule]>;
}
1 change: 1 addition & 0 deletions tools/public_api_guard/material/card.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export declare class MatCardMdImage {
}

export declare class MatCardModule {
static ɵfac: i0.ɵɵFactoryDef<MatCardModule, never>;
static ɵinj: i0.ɵɵInjectorDef<MatCardModule>;
static ɵmod: i0.ɵɵNgModuleDefWithMeta<MatCardModule, [typeof i1.MatCard, typeof i1.MatCardHeader, typeof i1.MatCardTitleGroup, typeof i1.MatCardContent, typeof i1.MatCardTitle, typeof i1.MatCardSubtitle, typeof i1.MatCardActions, typeof i1.MatCardFooter, typeof i1.MatCardSmImage, typeof i1.MatCardMdImage, typeof i1.MatCardLgImage, typeof i1.MatCardImage, typeof i1.MatCardXlImage, typeof i1.MatCardAvatar], [typeof i2.MatCommonModule], [typeof i1.MatCard, typeof i1.MatCardHeader, typeof i1.MatCardTitleGroup, typeof i1.MatCardContent, typeof i1.MatCardTitle, typeof i1.MatCardSubtitle, typeof i1.MatCardActions, typeof i1.MatCardFooter, typeof i1.MatCardSmImage, typeof i1.MatCardMdImage, typeof i1.MatCardLgImage, typeof i1.MatCardImage, typeof i1.MatCardXlImage, typeof i1.MatCardAvatar, typeof i2.MatCommonModule]>;
}
Expand Down
Loading

0 comments on commit fef9bf5

Please sign in to comment.