-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Typescript Cleanup Part 2 of 3 for rule: ruleStub & launchPane…
…lType: panelType (#7289) #### Details Typescript Cleanup Part 2 of 3 We have total 140 errors in 104 files. Thus, targeting each error and fixing it. ##### Motivation Errors observed in below files observed after removing deprecated properties from tsconfig file: 1.**rule: ruleStub** src/tests/unit/tests/injected/element-based-view-model-creator.test.ts (9) scanNodeResults consists of unified results as well as ruleStub. So, using scanNodeResults to resolve the issue. 2.**launchPanelType: panelType** src/popup/actions/popup-action-message-creator.ts(1) src/tests/unit/tests/popup/actions/popup-action-message-creator.test.ts(1) Added new type LaunchPanelTelemetryData in extension-telemetry-events.ts, to resolve the error for launchPanelType: panelType Thus, total number of errors covered as part of this user story: **11** ##### Context #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [x] Addresses an existing issue: #(#6611) - [x] Ran `yarn fastpass` - [x] Added/updated relevant unit test(s) (and ran `yarn test`) - [x] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage` - [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`. - [n/a] (UI changes only) Added screenshots/GIFs to description above - [n/a] (UI changes only) Verified usability with NVDA/JAWS
- Loading branch information
Showing
2 changed files
with
18 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters