chore(version): 发布版本1.0.11

This commit is contained in:
荣彬 2020-10-20 11:08:24 +08:00
parent fc99b3d9ca
commit 0d82c7d7ba

View File

@ -42,13 +42,13 @@ export interface Npm {
[k: string]: any; [k: string]: any;
} }
export interface PropsSection { export interface PropsSection {
props: { props: Array<{
name: string; name: string;
propType: PropType; propType: PropType;
description?: string; description?: string;
defaultValue?: any; defaultValue?: any;
[k: string]: any; [k: string]: any;
}[]; }>;
[k: string]: any; [k: string]: any;
} }
export interface RequiredType { export interface RequiredType {
@ -57,7 +57,7 @@ export interface RequiredType {
} }
export interface OneOf { export interface OneOf {
type: 'oneOf'; type: 'oneOf';
value: (string | number | boolean)[]; value: Array<string | number | boolean>;
isRequired?: boolean; isRequired?: boolean;
[k: string]: any; [k: string]: any;
} }
@ -81,19 +81,19 @@ export interface ObjectOf {
} }
export interface Shape { export interface Shape {
type: 'shape'; type: 'shape';
value: { value: Array<{
name?: string; name?: string;
propType?: PropType; propType?: PropType;
}[]; }>;
isRequired?: boolean; isRequired?: boolean;
[k: string]: any; [k: string]: any;
} }
export interface Exact { export interface Exact {
type: 'exact'; type: 'exact';
value: { value: Array<{
name?: string; name?: string;
propType?: PropType; propType?: PropType;
}[]; }>;
isRequired?: boolean; isRequired?: boolean;
[k: string]: any; [k: string]: any;
} }