diff --git a/.betterer.results b/.betterer.results index 8bdf9034c93..fb147155b2d 100644 --- a/.betterer.results +++ b/.betterer.results @@ -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.", "8"], [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": [ [0, 0, 0, "Unexpected any. Specify a different type.", "0"] diff --git a/public/app/features/variables/utils.ts b/public/app/features/variables/utils.ts index fc5e9dd861d..dc27c780d82 100644 --- a/public/app/features/variables/utils.ts +++ b/public/app/features/variables/utils.ts @@ -300,9 +300,7 @@ export function toVariablePayload( identifier: VariableIdentifier, data?: T ): VariablePayload; -// eslint-disable-next-line export function toVariablePayload(model: VariableModel, data?: T): VariablePayload; -// eslint-disable-next-line export function toVariablePayload( obj: VariableIdentifier | VariableModel, data?: T