forked from mirrors/misskey
refactor: make noImplicitAny true (#17083)
* wip * Update emojis.emoji.vue * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update manager.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update analytics.ts
This commit is contained in:
@@ -11,7 +11,7 @@ export const chartVLine = (vLineColor: string) => ({
|
||||
const tooltip = chart.tooltip as any;
|
||||
if (tooltip?._active?.length) {
|
||||
const ctx = chart.ctx;
|
||||
const xs = tooltip._active.map(a => a.element.x);
|
||||
const xs = tooltip._active.map((a: any) => a.element.x) as number[];
|
||||
const x = xs.reduce((a, b) => a + b, 0) / xs.length;
|
||||
const topY = chart.scales.y.top;
|
||||
const bottomY = chart.scales.y.bottom;
|
||||
|
||||
Reference in New Issue
Block a user