Basarat Syed
2015-08-24 17:43:21 +10:00
parent af81415504
commit 55465434fd
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -748,8 +748,8 @@ declare module "react/addons" {
// ----------------------------------------------------------------------
interface ReactChildren {
map<T>(children: ReactNode, fn: (child: ReactChild) => T): { [key:string]: T };
forEach(children: ReactNode, fn: (child: ReactChild) => any): void;
map<T>(children: ReactNode, fn: (child: ReactChild, index: number) => T): { [key:string]: T };
forEach(children: ReactNode, fn: (child: ReactChild, index: number) => any): void;
count(children: ReactNode): number;
only(children: ReactNode): ReactChild;
}