Commit ffdf7470 by Torkel Ödegaard

More files that has fixed with prettier

parent ac9129c2
export interface GrafanaVariables { export interface GrafanaVariables {
'panelHorizontalPadding': number; panelHorizontalPadding: number;
'panelVerticalPadding': number; panelVerticalPadding: number;
} }
declare const variables: GrafanaVariables; declare const variables: GrafanaVariables;
......
import { DataQueryOptions, DataQuery } from '@grafana/ui'; import { DataQueryOptions, DataQuery } from '@grafana/ui';
import moment from 'moment'; import moment from 'moment';
export function getQueryOptions<TQuery extends DataQuery>(
export function getQueryOptions<TQuery extends DataQuery>(options: Partial<DataQueryOptions<TQuery>>): DataQueryOptions<TQuery> { options: Partial<DataQueryOptions<TQuery>>
const raw = {from: 'now', to: 'now-1h'}; ): DataQueryOptions<TQuery> {
const range = { from: moment(), to: moment(), raw: raw}; const raw = { from: 'now', to: 'now-1h' };
const range = { from: moment(), to: moment(), raw: raw };
const defaults: DataQueryOptions<TQuery> = { const defaults: DataQueryOptions<TQuery> = {
range: range, range: range,
......
export class BackendSrvMock { export class BackendSrvMock {
search: any; search: any;
constructor() { constructor() {}
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment