Skip to content

Commit

Permalink
correct internal chart options typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjin committed Sep 13, 2023
1 parent 2adeb64 commit 15ee0d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sql/base/browser/ui/chart/chart.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export class Chart<TChartType extends azdata.ChartType, TData extends azdata.Cha
private chartCanvasId: string;

/**
* Options in the form that Chart.js accepts (hence the `any` type)
* Options in the form that Chart.js accepts
*/
private _options: any = {
private _options: chartjs.ChartOptions = {
events: ['click', 'keyup'],
responsive: true,
maintainAspectRatio: false
Expand Down

0 comments on commit 15ee0d8

Please sign in to comment.