Skip to content

Commit 5c6fa02

Browse files
committed
typescript README section
1 parent 876e556 commit 5c6fa02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ In order for typings to work properly, you'll need to add the following to
127127
resolved](https://github.com/sveltejs/language-tools/issues/431):
128128

129129
```typescript
130-
declare type FileDropEvent = import("./lib/event").FileDropEvent;
131-
declare type FileDropSelectEvent = import("./lib/event").FileDropSelectEvent;
132-
declare type FileDropDragEvent = import("./lib/event").FileDropDragEvent;
130+
declare type FileDropEvent = import("filedrop-svelte/lib/event").FileDropEvent;
131+
declare type FileDropSelectEvent = import("filedrop-svelte/lib/event").FileDropSelectEvent;
132+
declare type FileDropDragEvent = import("filedrop-svelte/lib/event").FileDropDragEvent;
133133
declare namespace svelte.JSX {
134134
interface HTMLAttributes<T> {
135135
onfiledrop?: (event: CustomEvent<FileDropSelectEvent> & { target: EventTarget & T }) => void;

0 commit comments

Comments
 (0)