Skip to content

Commit b2da537

Browse files
andrius-prajelbourn
authored andcommitted
refactor: fix typescript 3.7 compilation errors.Fixes Import declaration conflicts with local declaration error. (#18141)
(cherry picked from commit 7cced9c)
1 parent 31a50f7 commit b2da537

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

src/components-examples/material/table/table-multiple-header-footer/table-multiple-header-footer-example.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import {Component} from '@angular/core';
22
import {Transaction} from '../table-footer-row/table-footer-row-example';
33

4-
export interface Transaction {
5-
item: string;
6-
cost: number;
7-
}
8-
94
/**
105
* @title Table with multiple header and footer rows
116
*/

src/dev-app/mdc-input/mdc-input-demo.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88

99
import {ChangeDetectionStrategy, Component} from '@angular/core';
1010
import {FormControl, Validators} from '@angular/forms';
11-
import {ErrorStateMatcher, FloatLabelType} from '@angular/material/core';
12-
import {MatFormFieldAppearance} from '@angular/material-experimental/mdc-form-field';
13-
11+
import {
12+
FloatLabelType,
13+
MatFormFieldAppearance
14+
} from '@angular/material-experimental/mdc-form-field';
15+
import {ErrorStateMatcher} from '@angular/material/core';
1416

1517
let max = 5;
1618

src/material-experimental/mdc-form-field/form-field.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import {
2626
} from '@angular/core';
2727
import {NgControl} from '@angular/forms';
2828
import {
29-
FloatLabelType,
3029
LabelOptions,
3130
MAT_LABEL_GLOBAL_OPTIONS,
3231
ThemePalette

0 commit comments

Comments
 (0)