-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(chips): Add an event typedef for chip interaction events #2965
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2965 +/- ##
======================================
Coverage 98.3% 98.3%
======================================
Files 101 101
Lines 4368 4368
Branches 564 564
======================================
Hits 4294 4294
Misses 74 74
Continue to review full report at Codecov.
|
@@ -15,7 +15,8 @@ | |||
* limitations under the License. | |||
*/ | |||
|
|||
/* eslint no-unused-vars: [2, {"args": "none"}] */ | |||
/* eslint-disable no-unused-vars */ | |||
import {MDCChipInteractionEventType} from '../chip/foundation'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to keep the no-unused-vars: [2, {"args": "none"}]
rule for the rest of the file, so you can do something like this:
// eslint-disable-next-line no-unused-vars
import {MDCChipInteractionEventType} from '../chip/foundation';
/* eslint no-unused-vars: [2, {"args": "none"}] */
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, done!
@@ -17,7 +17,8 @@ | |||
|
|||
import MDCFoundation from '@material/base/foundation'; | |||
import MDCChipSetAdapter from './adapter'; | |||
import MDCChipFoundation from '../chip/foundation'; | |||
/* eslint-disable no-unused-vars */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, use // eslint-disable-next-line no-unused-vars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.