mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
fix(react-sketchapp): fixed array type definition
This commit is contained in:
Vendored
+1
-1
@@ -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>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user