Skip to content

Commit 952f3cc

Browse files
committed
some typing issues
1 parent f934bd7 commit 952f3cc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export {
4949
ElementOptionsByType,
5050
ChartDatasetProperties,
5151
UpdateModeEnum,
52+
ArcSpacingMode,
5253
registerables
5354
} from './types/index.js';
5455
export * from './types/index.js';

test/types/options.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Chart, ChartOptions, ChartType, DoughnutControllerChartOptions } from '../../src/types.js';
1+
import {Chart, ChartOptions, ChartType, DoughnutControllerChartOptions} from '../../src/types.js';
22

33
const chart = new Chart('test', {
44
type: 'bar',
@@ -40,6 +40,7 @@ const doughnutOptions: DoughnutControllerChartOptions = {
4040
rotation: 0,
4141
spacing: 0,
4242
animation: false,
43+
spacingMode: 'angular',
4344
};
4445

4546
const chartOptions: ChartOptions<ChartType> = doughnutOptions;

0 commit comments

Comments
 (0)