mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Chore: Remove needless eslint ignore comment from variable utils (#54050)
This commit is contained in:
parent
7caba545ec
commit
2b17e5354a
@ -6132,7 +6132,9 @@ exports[`better eslint`] = {
|
|||||||
[0, 0, 0, "Unexpected any. Specify a different type.", "7"],
|
[0, 0, 0, "Unexpected any. Specify a different type.", "7"],
|
||||||
[0, 0, 0, "Unexpected any. Specify a different type.", "8"],
|
[0, 0, 0, "Unexpected any. Specify a different type.", "8"],
|
||||||
[0, 0, 0, "Unexpected any. Specify a different type.", "9"],
|
[0, 0, 0, "Unexpected any. Specify a different type.", "9"],
|
||||||
[0, 0, 0, "Do not use any type assertions.", "10"]
|
[0, 0, 0, "Unexpected any. Specify a different type.", "10"],
|
||||||
|
[0, 0, 0, "Unexpected any. Specify a different type.", "11"],
|
||||||
|
[0, 0, 0, "Do not use any type assertions.", "12"]
|
||||||
],
|
],
|
||||||
"public/app/plugins/datasource/alertmanager/DataSource.ts:5381": [
|
"public/app/plugins/datasource/alertmanager/DataSource.ts:5381": [
|
||||||
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
|
[0, 0, 0, "Unexpected any. Specify a different type.", "0"]
|
||||||
|
@ -300,9 +300,7 @@ export function toVariablePayload<T extends any = undefined>(
|
|||||||
identifier: VariableIdentifier,
|
identifier: VariableIdentifier,
|
||||||
data?: T
|
data?: T
|
||||||
): VariablePayload<T>;
|
): VariablePayload<T>;
|
||||||
// eslint-disable-next-line
|
|
||||||
export function toVariablePayload<T extends any = undefined>(model: VariableModel, data?: T): VariablePayload<T>;
|
export function toVariablePayload<T extends any = undefined>(model: VariableModel, data?: T): VariablePayload<T>;
|
||||||
// eslint-disable-next-line
|
|
||||||
export function toVariablePayload<T extends any = undefined>(
|
export function toVariablePayload<T extends any = undefined>(
|
||||||
obj: VariableIdentifier | VariableModel,
|
obj: VariableIdentifier | VariableModel,
|
||||||
data?: T
|
data?: T
|
||||||
|
Loading…
Reference in New Issue
Block a user