Skip to content

Commit

Permalink
feat(ts): update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Aug 19, 2021
1 parent f41ba5c commit 3c36655
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import {
AllowedComponentProps,
ComponentCustomProps,
DefineComponent,
VNodeProps,
} from 'vue';

interface Circle {
cx: string;
cy: string;
Expand All @@ -17,3 +24,10 @@ export interface Marker {
circles?: Circle[];
paths?: Path[];
}

type VSvgComponentProps = Marker &
AllowedComponentProps &
ComponentCustomProps &
VNodeProps;

export const VSvg: DefineComponent<VSvgComponentProps>;

0 comments on commit 3c36655

Please sign in to comment.