Ashley Harrison
52d7358d83
Chore: More TypeScript strict fixes ( #39300 )
...
* Chore: More TypeScript strict fixes
* Chore: Use filter instead of reduce to fix TypeScript error
* Chore: Retype AzureResultFormat as string
* Chore: Account for getBlocks() poor typings of reduce
* Chore: Need to explicitly check for undefined here since '' is falsey
2021-09-17 09:47:23 +01:00
Ashley Harrison
d0ae3a324f
Update ci-check-strict.sh ( #39298 )
2021-09-16 16:51:35 +01:00
Ivana Huckova
d5956ce4b7
Loki: Fix error handling, remove legacy condition ( #38633 )
...
* Fix error handling, remove legacy condition
* Fix strict errors in Loki and lower error count
* Update
2021-09-06 15:28:54 +02:00
Giordano Ricci
7f1327d1ed
Elasticsearch: Prevent pipeline aggregations to show up in terms order by options ( #38448 )
...
* Elasticsearch: Prevent pipeline aggregations to show up in terms order by options
* fix optional props
* Refactor & add tests
* Fix & lower strict ts count
* Update public/app/plugins/datasource/elasticsearch/components/QueryEditor/BucketAggregationsEditor/SettingsEditor/TermsSettingsEditor.test.tsx
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Update public/app/plugins/datasource/elasticsearch/components/QueryEditor/BucketAggregationsEditor/SettingsEditor/TermsSettingsEditor.test.tsx
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-09-02 16:00:40 +02:00
Ashley Harrison
181d6a78ed
Chore: Fix some more typescript strict errors ( #37750 )
2021-08-11 09:10:41 +01:00
Giordano Ricci
2f21bf5cfd
Chore: Reduce Elasticsearch data source plugin strict errors ( #37399 )
2021-08-05 16:03:38 +01:00
Ashley Harrison
e7d4b175b7
Update ci-check-strict.sh ( #37449 )
2021-08-02 13:38:36 +02:00
Ashley Harrison
26abec2287
Chore: Update slate types to fix more strict TypeScript errors ( #37159 )
2021-07-23 15:33:53 +01:00
Ashley Harrison
75ff031789
Chore: Fix TypeScript strict errors with components using connect ( #37109 )
...
* Chore: Fix TypeScript strict errors with components using connect
* Chore: More TypeScript fixes
* Chore: Update strict check values
* Still need to export these types...
* Declare connector at the top of the file
* Careful with find and replace...
2021-07-23 11:33:26 +02:00
Ashley Harrison
3004a650b5
Chore: Fix more TypeScript strict errors ( #37066 )
...
* Chore: Fix more TypeScript strict errors
* whoops
2021-07-22 08:09:55 +01:00
Ashley Harrison
e22ff342e0
Update ci-check-strict.sh ( #36943 )
2021-07-20 12:21:20 +02:00
Ashley Harrison
220b964de5
Chore: Fix more TypeScript errors ( #36918 )
...
* TypeScript: Fix some strict typescript errors
* Fix more strict typescript errors
* Few more fixes
* Better string conversion
* update check script to 195
2021-07-20 09:57:03 +01:00
Hugo Häggmark
45a5510978
Chore: Update strict error threshold ( #35979 )
2021-06-21 09:35:04 +02:00
Marcus Efraimsson
442d3df29c
Chore: Bump strict error count limit ( #33035 )
2021-04-15 16:21:33 +02:00
Hugo Häggmark
34b4f7c717
Chore: Reduces strict errors ( #33012 )
...
* Chore: reduces strict error in OptionPicker tests
* Chore: reduces strict errors in FormDropdownCtrl
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: lowers strict count limit
* Tests: updates snapshots
* Tests: updates snapshots
* Chore: updates after PR comments
* Refactor: removes throw and changes signature for DashboardSrv.getCurrent
2021-04-15 14:21:06 +02:00
Hugo Häggmark
c8b59b79c3
Chore: Fix strict errors, down to 340 ( #32109 )
...
* Chore: reduces misc reducerTester strict issues
* Chore: fixes various strict errors in reducer tests for ElasticSearch
* Chore: lowers errors in AzureMonitor DataSource tests
2021-03-19 13:10:03 +01:00
Torkel Ödegaard
372ae7fdd3
Chore: Fix strict errors, down to 416 ( #31365 )
2021-02-22 10:06:07 +01:00
Hugo Häggmark
3c1f27b0e6
Chore: reduce strict errors for variables ( #31241 )
...
* Chore: reduces a lot of variable errors
* Chore: reduces variable Editor errors
* Chore: reduces variable Picker errors
* Chore: reduce error count
* Chore: reduces errors for ChangeEvent instead of FormEvent
* Chore: reduces errors with CombinedState
* Chore: reduces ComponentType errors
* Chore: reduce errors in reducers
* Chore: reduces misc errors
* Chore: reduce AdhocPicker errors
* Chore: reduce error limit
* Update public/app/features/variables/adhoc/picker/AdHocFilterValue.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Chore: updates after PR comments
* Chore: small refactor
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-02-18 06:21:35 +01:00
Dominik Prokop
683ce69347
Link suppliers: getLinks API update ( #29757 )
...
* ContextMenuPlugin WIP
* Remove Add annotations menu item from graph context menu
* ts ifx
* WIP
* Tests updates
* ts check fix
* Fix rebase
* Use replace function in angular graph data links
2020-12-15 13:29:37 +01:00
Torkel Ödegaard
6c1789e549
Typescript: Raise strict error limit for enterprise ( #29688 )
2020-12-08 15:56:55 +01:00
Torkel Ödegaard
a7afab4b8a
Typescript: Fixing typescript strict error, and separate check from publishing ( #29679 )
...
* Typescript: Fixing typescript string error, and seperate check from publishing
* now should pass
2020-12-08 12:56:37 +01:00