Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

[WIP] refactor(mod-chart): Adapt to new core #77

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mods/mod-chart/src/widgets/baseSimpleChart.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { DateTime } from 'luxon'
import type { Canvas } from 'canvaskit-wasm'
import type { ConvertToProp } from '@newcar/core'
import type { BaseChartData, BaseChartDataSet, BaseChartOptions, BaseChartStyle } from './baseChart'
import { BaseChart } from './baseChart'
import type { ChartDataUnit } from './chartDataUnit'
Expand Down Expand Up @@ -54,7 +55,7 @@ export class BaseSimpleChart extends BaseChart {
* @public
* @type BaseSimpleChartStyle
*/
declare style: BaseSimpleChartStyle
declare style: ConvertToProp<BaseSimpleChartStyle>

/**
* Layout object for the chart.
Expand Down
Loading