fix(react-sketchapp): fixed array type definition

This commit is contained in:
Sascha Zarhuber
2019-04-12 18:47:34 +02:00
parent 5533072bdd
commit d9206d74fe
+1 -1
View File
@@ -187,7 +187,7 @@ export interface TextStyle extends Style {
* DocumentProps, a Document does not take any props but children
*/
export interface DocumentProps {
children?: React.ReactElement<PageProps, any>[] | React.ReactElement<PageProps, any>;
children?: Array<React.ReactElement<PageProps, any>> | React.ReactElement<PageProps, any>;
}
/**