build: add script to generate component index

- move typedefs for correct type parsing
This commit is contained in:
Eric Liu 2020-08-13 17:24:00 -07:00
commit 5968e22bd9
14 changed files with 5518 additions and 207 deletions

View file

@ -1,8 +1,4 @@
<script>
/**
* @typedef {string[]} Files
*/
/**
* Specify the accepted file types
* @type {string[]} [accept=[]]
@ -64,6 +60,10 @@
*/
export let ref = null;
/**
* @typedef {string[]} Files
*/
import { createEventDispatcher } from "svelte";
const dispatch = createEventDispatcher();