diff --git a/src/models/lis-histogram-data-model.ts b/src/models/lis-histogram-data-model.ts deleted file mode 100644 index 329d3c0..0000000 --- a/src/models/lis-histogram-data-model.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * An object for histogram data. - */ -export type HistogramDataModel = { - name: string; - count: number; -}; diff --git a/src/vis/lis-histogram-element.ts b/src/vis/lis-histogram-element.ts index 000789b..cf44420 100644 --- a/src/vis/lis-histogram-element.ts +++ b/src/vis/lis-histogram-element.ts @@ -2,9 +2,14 @@ import {LitElement, html} from 'lit'; import {customElement, property, state} from 'lit/decorators.js'; import {Ref, createRef, ref} from 'lit/directives/ref.js'; import {globalSubstitution} from '../utils/decorators'; -import {HistogramDataModel} from '../models'; +//import {HistogramDataModel} from '../models'; declare const d3: any; + +export type HistogramDataModel = { + name: string; + count: number; +}; //import * as d3 from 'd3'; /**