kay delaney
3a7c5a0755
Chore: Switch yarn 2 to plug-n-play strategy ( #40300 )
2021-10-27 14:21:07 +01:00
Andres Martinez Gotor
302fef394a
Chore: remove strict errors for azure-monitor ( #40675 )
2021-10-20 16:34:24 +02:00
Gábor Farkas
1f44023ebe
Loki: fix typescript-strict-mode error ( #40566 )
...
* loki: fix typescript-strict error
* loki: fix typescript-strict-mode error
2021-10-18 12:35:56 +02:00
Piotr Jamróz
2de769420e
Chore: Reduce strict error in DataSourceHttpSettings.onChange callback ( #40497 )
...
* Reduce strict TS errors
* Update ERROR_COUNT_LIMIT after merging from main
* Update number of errors
2021-10-18 10:40:43 +02:00
Giordano Ricci
63fc12d186
Elasticsearch: Fix some strict typescript errors ( #40517 )
...
* Elasticsearch: Fix some strict typescript errors
* Fix tests
* Reduce strict error count
* actually fix tests
2021-10-15 16:20:20 +01:00
Gábor Farkas
8e070d6858
influxdb: config page: typescript-fix for strict-mode ( #40465 )
2021-10-15 11:29:41 +02:00
Hugo Häggmark
09bb890092
WIP Chore: reduce strict errors ( #40462 )
...
* Chore: reduce strict error in ngReact
* Chore: reduce strict errors for ShareModal
* Chore: reduce strict errors in VersioHistory
* Chore: reduce strict error in ExpressionDatasource
* Chore: reduce strict error in DashboardWatcher
* Chore: reduce strict error in PluginPage
* Chore: reduce strict errors for guard
* Chore: update threshold
* Chore: reduce strict errors in Graph
* Chore: reduce threshold
* Apply suggestions from code review
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
* Chore: reduce strict errors in TimeSeries
* Chore: reduce threshold
* Chore: reduce strict errors in polyfill
* Chore: reduce threshold
* Chore: update after PR comments
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
* Chore: changes after PR comments
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-10-15 08:57:55 +02:00
Hugo Häggmark
31d50f931d
Chore: Reduces strict errors in DashboardPickerByID ( #40431 )
...
* Chore: Reduces strict errors in DashboardPickerByID
* Chore: updates after PR comments
* Chore: fix for undefined strict error
2021-10-14 10:20:04 +02:00
Ashley Harrison
2f731d42f3
NewsPanel: Prevent Date and title collapsing to single row ( #40016 )
2021-10-06 11:14:37 +01:00
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