blob: 875a7bb1decd450b30127a54515459f5b436bba8 [file] [log] [blame]
import { Registry, makeSingleton, OverwritePolicy } from '../..';
import { ChartType } from '../models/ChartPlugin';
class ChartComponentRegistry extends Registry<ChartType> {
constructor() {
super({ name: 'ChartComponent', overwritePolicy: OverwritePolicy.WARN });
}
}
const getInstance = makeSingleton(ChartComponentRegistry);
export default getInstance;