Chore: avoid implicit any by using inline functions (#51338)

This commit is contained in:
Ryan McKinley
2022-06-23 11:19:08 -07:00
committed by GitHub
parent 91ee019140
commit a093250dd5
3 changed files with 13 additions and 30 deletions

View File

@@ -3194,18 +3194,14 @@ exports[`no type assertions`] = {
[26, 25, 60, "Do not use any type assertions.", "1006626118"],
[61, 21, 28, "Do not use any type assertions.", "1547636696"]
],
"public/app/features/search/page/components/FolderSection.tsx:2694034564": [
[139, 27, 22, "Do not use any type assertions.", "3217586069"]
],
"public/app/features/search/page/components/ManageActions.tsx:2913473343": [
[47, 28, 26, "Do not use any type assertions.", "1971436753"]
],
"public/app/features/search/page/components/MoveToFolderModal.tsx:739519709": [
[66, 51, 15, "Do not use any type assertions.", "3135191849"]
],
"public/app/features/search/page/components/SearchResultsCards.tsx:4110686088": [
[54, 21, 56, "Do not use any type assertions.", "1375039711"],
[94, 31, 22, "Do not use any type assertions.", "3217586069"]
"public/app/features/search/page/components/SearchResultsCards.tsx:590892204": [
[45, 21, 56, "Do not use any type assertions.", "1375039711"]
],
"public/app/features/search/page/components/SearchResultsGrid.tsx:994645204": [
[30, 16, 28, "Do not use any type assertions.", "1941050010"]
@@ -10059,15 +10055,9 @@ exports[`no explicit any`] = {
"public/app/features/search/components/SearchResults.tsx:4264592788": [
[19, 35, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"public/app/features/search/page/components/FolderSection.tsx:2694034564": [
[139, 46, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"public/app/features/search/page/components/MoveToFolderModal.tsx:739519709": [
[31, 63, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"public/app/features/search/page/components/SearchResultsCards.tsx:4110686088": [
[94, 50, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"public/app/features/search/page/components/SearchResultsGrid.test.tsx:2090205358": [
[40, 35, 3, "Unexpected any. Specify a different type.", "193409811"]
],