@el3um4s/svelte-get-component-info
Version:
Typescript NPM Package Starter
7 lines (6 loc) • 345 B
TypeScript
import type { Prop } from "./interfaces";
declare function getPropInfo(s: string): Prop;
declare function getPropName(s: string): string;
declare function getPropType(s: string): string | undefined;
declare function getPropDefaultValue(s: string): string | undefined;
export { getPropInfo, getPropName, getPropType, getPropDefaultValue };