Skip to content

Commit

Permalink
minor style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronhimself committed Jul 16, 2018
1 parent 8bcad4e commit 93099d9
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import Vue, { PluginObject, VueConstructor } from 'vue';

import Vue, { PluginObject, VueConstructor } from 'vue'

export type DropEffect = 'copy' | 'move' | 'link' | 'none'
export type EffectsAllowed = 'none' | 'copy' | 'copyLink' | 'copyMove' | 'link' | 'linkMove' | 'move' | 'all' | 'uninitialized'
export type DragEventName = 'drag' | 'dragend' | 'dragenter' | 'dragleave' | 'dragstart' | 'dragover' | 'drop'
export type DragEventObject = { [s: string]: DragEventName }
export type DropEffect = 'copy' | 'move' | 'link' | 'none';
export type EffectsAllowed = 'none' | 'copy' | 'copyLink' | 'copyMove' | 'link' | 'linkMove' | 'move' | 'all' | 'uninitialized';
export type DragEventName = 'drag' | 'dragend' | 'dragenter' | 'dragleave' | 'dragstart' | 'dragover' | 'drop';
export type DragEventObject = { [s: string]: DragEventName };

declare class Drag extends Vue {
// props
Expand All @@ -27,7 +26,7 @@ declare class Drag extends Vue {
hideImageStyle: Record<string, string>;

// methods
emitEvent: (name: DragEventName, event: DragEvent) => void
emitEvent: (name: DragEventName, event: DragEvent) => void;
}

declare class Drop extends Vue {
Expand All @@ -43,11 +42,11 @@ declare class Drop extends Vue {
scopedData: Record<string, any> | boolean;

// methods
emitEvent: (name: DragEventName, event: DragEvent) => void
emitEvent: (name: DragEventName, event: DragEvent) => void;
}

declare const VueDragDrop: PluginObject<any>
declare const VueDragDrop: PluginObject<any>;

export { Drag, Drop }
export { Drag, Drop };

export default VueDragDrop
export default VueDragDrop;

0 comments on commit 93099d9

Please sign in to comment.