Skip to content

Commit

Permalink
Removed the old tests. Fixed type definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jszuminski committed Mar 4, 2024
1 parent b80ab02 commit ba91438
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 83 deletions.
75 changes: 0 additions & 75 deletions tests/unit.test.js

This file was deleted.

16 changes: 8 additions & 8 deletions types/highcharts-vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@
import { DefineComponent, App } from 'vue';
import * as Highcharts from 'highcharts';

declare module '@vue/runtime-cor' {
export interface GlobalComponents {
[key: string]: DefineComponent<ChartProps, {}, {}>
}
}

export type ChartUpdateArgs = [boolean, boolean, Highcharts.AnimationOptionsObject];

export interface ChartProps {
constructorType?: string;
options: Highcharts.Options;
Expand All @@ -19,6 +11,14 @@ export interface ChartProps {
deepCopyOnUpdate?: boolean;
}

declare module '@vue/runtime-core' {
export interface GlobalComponents {
[key: string]: DefineComponent<ChartProps, {}, {}>
}
}

export type ChartUpdateArgs = [boolean, boolean, Highcharts.AnimationOptionsObject];

export const Chart: DefineComponent<ChartProps>;

export interface HCVueInstallOptions {
Expand Down

0 comments on commit ba91438

Please sign in to comment.