Chore: Upgrade typescript to 4.1 (#29493)

* Chore: Upgrade typescript to 4.1
This commit is contained in:
kay delaney
2020-12-03 15:05:59 +00:00
committed by GitHub
parent 562a1c36b1
commit 56db402d0f
50 changed files with 342 additions and 317 deletions

View File

@@ -72,7 +72,7 @@ exports[`Render should disable basic auth password input 1`] = `
</div>
</div>
<div>
<Component
<DataSourceHttpSettings
dataSourceConfig={
Object {
"access": "proxy",
@@ -117,11 +117,11 @@ exports[`Render should disable basic auth password input 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
Database
</Component>
</FormLabel>
<div
className="width-20"
>
@@ -139,11 +139,11 @@ exports[`Render should disable basic auth password input 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
User
</Component>
</FormLabel>
<div
className="width-10"
>
@@ -177,14 +177,14 @@ exports[`Render should disable basic auth password input 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="You can use either GET or POST HTTP method to query your InfluxDB database. The POST
method allows you to perform heavy requests (with a lots of WHERE clause) while the GET method
will restrict you and return an error if the query is too large."
>
HTTP Method
</Component>
</FormLabel>
<Select
allowCustomValue={false}
autoFocus={false}
@@ -264,13 +264,13 @@ exports[`Render should disable basic auth password input 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="A lower limit for the auto group by time interval. Recommended to be set to write frequency,
for example 1m if your data is written every minute."
>
Min time interval
</Component>
</FormLabel>
<div
className="width-10"
>
@@ -360,7 +360,7 @@ exports[`Render should hide basic auth fields when switch off 1`] = `
</div>
</div>
<div>
<Component
<DataSourceHttpSettings
dataSourceConfig={
Object {
"access": "proxy",
@@ -405,11 +405,11 @@ exports[`Render should hide basic auth fields when switch off 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
Database
</Component>
</FormLabel>
<div
className="width-20"
>
@@ -427,11 +427,11 @@ exports[`Render should hide basic auth fields when switch off 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
User
</Component>
</FormLabel>
<div
className="width-10"
>
@@ -465,14 +465,14 @@ exports[`Render should hide basic auth fields when switch off 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="You can use either GET or POST HTTP method to query your InfluxDB database. The POST
method allows you to perform heavy requests (with a lots of WHERE clause) while the GET method
will restrict you and return an error if the query is too large."
>
HTTP Method
</Component>
</FormLabel>
<Select
allowCustomValue={false}
autoFocus={false}
@@ -552,13 +552,13 @@ exports[`Render should hide basic auth fields when switch off 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="A lower limit for the auto group by time interval. Recommended to be set to write frequency,
for example 1m if your data is written every minute."
>
Min time interval
</Component>
</FormLabel>
<div
className="width-10"
>
@@ -648,7 +648,7 @@ exports[`Render should hide white listed cookies input when browser access chose
</div>
</div>
<div>
<Component
<DataSourceHttpSettings
dataSourceConfig={
Object {
"access": "proxy",
@@ -693,11 +693,11 @@ exports[`Render should hide white listed cookies input when browser access chose
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
Database
</Component>
</FormLabel>
<div
className="width-20"
>
@@ -715,11 +715,11 @@ exports[`Render should hide white listed cookies input when browser access chose
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
User
</Component>
</FormLabel>
<div
className="width-10"
>
@@ -753,14 +753,14 @@ exports[`Render should hide white listed cookies input when browser access chose
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="You can use either GET or POST HTTP method to query your InfluxDB database. The POST
method allows you to perform heavy requests (with a lots of WHERE clause) while the GET method
will restrict you and return an error if the query is too large."
>
HTTP Method
</Component>
</FormLabel>
<Select
allowCustomValue={false}
autoFocus={false}
@@ -840,13 +840,13 @@ exports[`Render should hide white listed cookies input when browser access chose
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="A lower limit for the auto group by time interval. Recommended to be set to write frequency,
for example 1m if your data is written every minute."
>
Min time interval
</Component>
</FormLabel>
<div
className="width-10"
>
@@ -936,7 +936,7 @@ exports[`Render should render component 1`] = `
</div>
</div>
<div>
<Component
<DataSourceHttpSettings
dataSourceConfig={
Object {
"access": "proxy",
@@ -981,11 +981,11 @@ exports[`Render should render component 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
Database
</Component>
</FormLabel>
<div
className="width-20"
>
@@ -1003,11 +1003,11 @@ exports[`Render should render component 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
>
User
</Component>
</FormLabel>
<div
className="width-10"
>
@@ -1041,14 +1041,14 @@ exports[`Render should render component 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="You can use either GET or POST HTTP method to query your InfluxDB database. The POST
method allows you to perform heavy requests (with a lots of WHERE clause) while the GET method
will restrict you and return an error if the query is too large."
>
HTTP Method
</Component>
</FormLabel>
<Select
allowCustomValue={false}
autoFocus={false}
@@ -1128,13 +1128,13 @@ exports[`Render should render component 1`] = `
<div
className="gf-form"
>
<Component
<FormLabel
className="width-10"
tooltip="A lower limit for the auto group by time interval. Recommended to be set to write frequency,
for example 1m if your data is written every minute."
>
Min time interval
</Component>
</FormLabel>
<div
className="width-10"
>