mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
committed by
Torkel Ödegaard
parent
49f0f0e89e
commit
219d711597
@@ -1,5 +1,4 @@
|
||||
import { ComponentClass } from 'react';
|
||||
import { Value } from 'slate';
|
||||
import {
|
||||
RawTimeRange,
|
||||
DataQuery,
|
||||
@@ -283,7 +282,7 @@ export interface HistoryItem<TQuery extends DataQuery = DataQuery> {
|
||||
|
||||
export abstract class LanguageProvider {
|
||||
datasource: any;
|
||||
request: (url) => Promise<any>;
|
||||
request: (url: any) => Promise<any>;
|
||||
/**
|
||||
* Returns startTask that resolves with a task list when main syntax is loaded.
|
||||
* Task list consists of secondary promises that load more detailed language features.
|
||||
@@ -297,7 +296,8 @@ export interface TypeaheadInput {
|
||||
prefix: string;
|
||||
wrapperClasses: string[];
|
||||
labelKey?: string;
|
||||
value?: Value;
|
||||
//Should be Value from slate
|
||||
value?: any;
|
||||
}
|
||||
|
||||
export interface TypeaheadOutput {
|
||||
|
||||
Reference in New Issue
Block a user