File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " svelte-file-dropzone" ,
3
- "version" : " 2.0.6 " ,
3
+ "version" : " 2.0.7 " ,
4
4
"description" : " Svelte component for fileupload and file dropzone" ,
5
5
"scripts" : {
6
6
"package" : " svelte-kit sync && svelte-package && publint" ,
Original file line number Diff line number Diff line change 1
- <script lang = " ts " >
1
+ <script >
2
2
import { fromEvent } from " file-selector" ;
3
3
import {
4
4
fileAccepted ,
15
15
* Set accepted file types.
16
16
* See https://github.com/okonet/attr-accept for more information.
17
17
*/
18
- export let accept: string | string [] = undefined ;
18
+ /**
19
+ * @type {string | Array<string>}
20
+ */
21
+ export let accept = undefined ;
19
22
export let disabled = false ;
20
23
export let getFilesFromEvent = fromEvent;
21
24
export let maxSize = Infinity ;
You can’t perform that action at this time.
0 commit comments