This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,4 @@ interface MDCFormFieldAdapter {
45
45
) => void ) : void ;
46
46
}
47
47
48
- export default MDCFormFieldAdapter ;
48
+ export { MDCFormFieldAdapter as default , MDCFormFieldAdapter } ;
Original file line number Diff line number Diff line change 22
22
*/
23
23
24
24
import MDCFoundation from '@material/base/foundation' ;
25
- import MDCFormFieldAdapter from './adapter' ;
25
+ import { MDCFormFieldAdapter } from './adapter' ;
26
26
import { cssClasses , strings } from './constants' ;
27
27
28
28
class MDCFormFieldFoundation extends MDCFoundation < MDCFormFieldAdapter > {
@@ -66,4 +66,4 @@ class MDCFormFieldFoundation extends MDCFoundation<MDCFormFieldAdapter> {
66
66
}
67
67
}
68
68
69
- export default MDCFormFieldFoundation ;
69
+ export { MDCFormFieldFoundation as default , MDCFormFieldFoundation } ;
Original file line number Diff line number Diff line change 23
23
24
24
import MDCComponent from '@material/base/component' ;
25
25
import { MDCSelectionControl } from '@material/selection-control/index' ;
26
- import MDCFormFieldFoundation from './foundation' ;
26
+ import { MDCFormFieldFoundation } from './foundation' ;
27
27
28
- /**
29
- * @extends MDCComponent<!MDCFormFieldFoundation>
30
- */
31
28
class MDCFormField extends MDCComponent < MDCFormFieldFoundation > {
32
29
static attachTo ( root : HTMLElement ) {
33
30
return new MDCFormField ( root ) ;
Original file line number Diff line number Diff line change 21
21
* THE SOFTWARE.
22
22
*/
23
23
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' ;
26
25
27
26
interface MDCSelectionControlState {
28
27
checked : boolean ;
You can’t perform that action at this time.
0 commit comments