Chore: Let kbn util infer types (#26907)

* Chore: Let kbn util infer types

Type fixes where needed

* Address review comments + test fix

* Modify kbn method and property names to pascalCase
This commit is contained in:
Zoltán Bedi
2020-08-13 09:35:32 +02:00
committed by GitHub
parent 6b1b52b704
commit 75e14aa120
23 changed files with 310 additions and 337 deletions

View File

@@ -43,7 +43,7 @@ export interface QueryResultMeta {
* Legacy data source specific, should be moved to custom
* */
gmdMeta?: any[]; // used by cloudwatch
alignmentPeriod?: string; // used by cloud monitoring
alignmentPeriod?: number; // used by cloud monitoring
searchWords?: string[]; // used by log models and loki
limit?: number; // used by log models and loki
json?: boolean; // used to keep track of old json doc values

View File

@@ -32,7 +32,7 @@ export interface ValueFormatCategory {
formats: ValueFormat[];
}
interface ValueFormatterIndex {
export interface ValueFormatterIndex {
[id: string]: ValueFormatter;
}