chartjs/chartjs-plugin-deferred

View on GitHub
types/test/options.undefined.ts

Summary

Maintainability
A
0 mins
Test Coverage
import {Chart} from 'chart.js';

const chart = new Chart('id', {
  type: 'bar',
  data: {
    labels: [],
    datasets: [
      {
        data: [],
      }
    ]
  },
  options: {
    plugins: {
      // no deferred options
    }
  }
});