summaryrefslogtreecommitdiff
path: root/src/chart
diff options
context:
space:
mode:
Diffstat (limited to 'src/chart')
-rw-r--r--src/chart/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chart/index.ts b/src/chart/index.ts
index ccfcef39ab..58ab7f7f4f 100644
--- a/src/chart/index.ts
+++ b/src/chart/index.ts
@@ -64,7 +64,7 @@ export default abstract class Chart<T> {
const keys = {
span: -1,
date: -1
- } as any;
+ } as { [key: string]: 1 | -1; };
if (grouped) keys.group = -1;
this.collection.createIndex(keys, { unique: true });
}