Skip to content

Commit bfbe3d7

Browse files
committed
fix: remove unused type import for Plugin in Svelte and Vue index files
1 parent 51d8fb4 commit bfbe3d7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/svelte/src/index.svelte.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import type { DraggableFactory } from '@neodrag/core';
2-
import {
3-
Compartment as CoreCompartment,
4-
type Plugin,
5-
type PluginInput,
6-
} from '@neodrag/core/plugins';
2+
import { Compartment as CoreCompartment, type PluginInput } from '@neodrag/core/plugins';
73
import { onDestroy } from 'svelte';
84
import { Attachment } from 'svelte/attachments';
95
import { factory } from './shared';

packages/vue/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { DEFAULTS, DraggableFactory } from '@neodrag/core';
2-
import { Compartment, Plugin, type PluginInput } from '@neodrag/core/plugins';
2+
import { Compartment, type PluginInput } from '@neodrag/core/plugins';
33
import { onUnmounted, watchEffect, type Directive } from 'vue';
44

55
const factory = new DraggableFactory(DEFAULTS);

0 commit comments

Comments
 (0)