Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 92cc47c

Browse files
author
Matt Goo
committed
fix: export default lines
1 parent ac8c4f5 commit 92cc47c

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

packages/mdc-form-field/adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ interface MDCFormFieldAdapter {
4545
) => void): void;
4646
}
4747

48-
export default MDCFormFieldAdapter;
48+
export {MDCFormFieldAdapter as default, MDCFormFieldAdapter};

packages/mdc-form-field/foundation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323

2424
import MDCFoundation from '@material/base/foundation';
25-
import MDCFormFieldAdapter from './adapter';
25+
import {MDCFormFieldAdapter} from './adapter';
2626
import {cssClasses, strings} from './constants';
2727

2828
class MDCFormFieldFoundation extends MDCFoundation<MDCFormFieldAdapter> {
@@ -66,4 +66,4 @@ class MDCFormFieldFoundation extends MDCFoundation<MDCFormFieldAdapter> {
6666
}
6767
}
6868

69-
export default MDCFormFieldFoundation;
69+
export {MDCFormFieldFoundation as default, MDCFormFieldFoundation};

packages/mdc-form-field/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@
2323

2424
import MDCComponent from '@material/base/component';
2525
import {MDCSelectionControl} from '@material/selection-control/index';
26-
import MDCFormFieldFoundation from './foundation';
26+
import {MDCFormFieldFoundation} from './foundation';
2727

28-
/**
29-
* @extends MDCComponent<!MDCFormFieldFoundation>
30-
*/
3128
class MDCFormField extends MDCComponent<MDCFormFieldFoundation> {
3229
static attachTo(root: HTMLElement) {
3330
return new MDCFormField(root);

packages/mdc-selection-control/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
* THE SOFTWARE.
2222
*/
2323

24-
// @ts-ignore no-declaration file, will update when ripple is fixed
25-
import {MDCRipple} from '@material/ripple/index.js';
24+
import {MDCRipple} from '@material/ripple/index';
2625

2726
interface MDCSelectionControlState {
2827
checked: boolean;

0 commit comments

Comments
 (0)