-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[App Config] Fix linting errs on missing return types #13687
Conversation
/azp run js - app-configuration - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
Hello @ramya-rao-a! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
/azp run js - app-configuration - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
addEventListener: () => {}, |
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 this would satisfy the rule.
// eslint-disable-next-line @typescript-eslint/no-empty-function | |
addEventListener: () => {}, | |
addEventListener: () => { /* empty function */ }, |
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
removeEventListener: () => {} |
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.
// eslint-disable-next-line @typescript-eslint/no-empty-function | |
removeEventListener: () => {} | |
removeEventListener: () => { /* empty function */ } |
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
validateRequestProperties: () => {}, |
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.
// eslint-disable-next-line @typescript-eslint/no-empty-function | |
validateRequestProperties: () => {}, | |
validateRequestProperties: () => { /* empty function */ }, |
@@ -270,7 +273,7 @@ describe("helper methods", () => { | |||
"value" | |||
]); | |||
|
|||
assert.ok(formatFieldsForSelect(undefined) == undefined); | |||
assert.ok(formatFieldsForSelect(undefined) === undefined); |
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.
assert.ok(formatFieldsForSelect(undefined) === undefined); | |
assert.isUndefined(formatFieldsForSelect(undefined)); |
correct changeanalysis typescript.md (Azure#13687)
No description provided.