mirror of
https://github.com/grafana/grafana.git
synced 2025-09-22 10:12:52 +08:00
noImplicitAny: Sub 3000 errors (#17821)
* noImplicitAny Stackdriver * Sub 3000 noImplicitAny * Update error count limit * Add DataQueryRequest type
This commit is contained in:

committed by
Torkel Ödegaard

parent
bd4a7ddf3a
commit
4e27ba9646
@ -1,7 +1,9 @@
|
||||
import PostgresQuery from '../postgres_query';
|
||||
import { TemplateSrv } from 'app/features/templating/template_srv';
|
||||
|
||||
describe('PostgresQuery', () => {
|
||||
const templateSrv = {
|
||||
// @ts-ignore
|
||||
const templateSrv: TemplateSrv = {
|
||||
replace: jest.fn(text => text),
|
||||
};
|
||||
|
||||
@ -142,7 +144,7 @@ describe('PostgresQuery', () => {
|
||||
});
|
||||
|
||||
describe('When generating complete statement', () => {
|
||||
const target = {
|
||||
const target: any = {
|
||||
timeColumn: 't',
|
||||
table: 'table',
|
||||
select: [[{ type: 'column', params: ['value'] }]],
|
||||
|
Reference in New Issue
Block a user