UNPKG

806 BTypeScriptView Raw
1export interface JsDocParam {
2 name: string;
3 description?: string;
4}
5export interface JsDocReturns {
6 description?: string;
7}
8export interface JsDocTags {
9 params?: JsDocParam[];
10 returns?: JsDocReturns;
11}
12export interface PropSummaryValue {
13 summary: string;
14 detail?: string;
15 required?: boolean;
16}
17export declare type PropType = PropSummaryValue;
18export declare type PropDefaultValue = PropSummaryValue;
19export interface TableAnnotation {
20 type: PropType;
21 jsDocTags?: JsDocTags;
22 defaultValue?: PropDefaultValue;
23 category?: string;
24}
25export interface ArgType {
26 name?: string;
27 description?: string;
28 defaultValue?: any;
29 [key: string]: any;
30}
31export interface ArgTypes {
32 [key: string]: ArgType;
33}
34export interface Args {
35 [key: string]: any;
36}