refactor(types): rewrite type definitions to account for intrinsic attributes

This commit is contained in:
Eric Liu 2020-11-03 05:44:11 -08:00
commit 3c04f122b0
158 changed files with 6997 additions and 5383 deletions

View file

@ -0,0 +1,21 @@
<script lang="ts">
// example of a base import
import { Tag } from "../types";
// example of a direct import
import TagSkeleton from "../types/Tag/Tag.Skeleton";
</script>
<!-- the "class", "style" attributes should not cause an error -->
<Tag
class="class-name"
style="color: red;"
type="red"
on:click="{(e) => {
console.log(e);
}}"
>
text
</Tag>
<TagSkeleton class="class-name" style="color: red;" />