UNPKG

@el3um4s/svelte-get-component-info

Version:
30 lines (29 loc) 556 B
export interface Content { error: Reading; content: Reading; } export interface Reading { status: boolean; content: string; } export interface Prop { name: string; type?: string; defaultValue?: string; } export interface Action { name: string; } export interface Slot { anonymous: boolean; name?: string; } export interface CSS { name: string; } export interface SvelteInformations { props: Array<Prop>; actions: Array<Action>; slots: Array<Slot>; css: Array<CSS>; }