File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 4
4
"version" : " 1.0.0-alpha.2" ,
5
5
"license" : " MIT" ,
6
6
"main" : " dist/coreui-vue-chartjs.common.js" ,
7
+ "types" : " src/index.d.ts" ,
8
+ "files" : [
9
+ " src" ,
10
+ " dist" ,
11
+ " babel.config.js" ,
12
+ " vue.config.js"
13
+ ],
7
14
"scripts" : {
8
15
"build" : " vue-cli-service build --target lib --name coreui-vue-chartjs ./src/index.js" ,
9
16
"lint" : " vue-cli-service lint" ,
Original file line number Diff line number Diff line change
1
+ import Vue from 'vue'
2
+
3
+ export declare class CChart extends Vue {
4
+ datasets : Array < object >
5
+ labels : [ string , Array < string > ]
6
+ options : object
7
+ plugins : Array < any >
8
+ src : string
9
+ }
10
+
11
+ export declare class CChartBar extends CChart { }
12
+ export declare class CChartLine extends CChart { }
13
+ export declare class CChartDoughnut extends CChart { }
14
+ export declare class CChartRadar extends CChart { }
15
+ export declare class CChartPie extends CChart { }
16
+ export declare class CChartPolarArea extends CChart { }
17
+
18
+ import { PluginFunction } from 'vue'
19
+ export interface CoreuiVueChartsPlugin {
20
+ install : PluginFunction < Function >
21
+ }
22
+ declare const CoreuiVueCharts : CoreuiVueChartsPlugin
23
+
24
+ export default CoreuiVueCharts
You can’t perform that action at this time.
0 commit comments