Merge pull request #8607 from waywardmonkeys/fix-typos

react: Fix typo in comment.
This commit is contained in:
Masahiro Wakame
2016-03-19 14:34:54 +09:00

2
react/react.d.ts vendored
View File

@@ -167,7 +167,7 @@ declare namespace __React {
// React.Props<T> is now deprecated, which means that the `children`
// property is not available on `P` by default, even though you can
// always pass children as variadic arguments to `createElement`.
// In the future, if we can define its call signature conditionallly
// In the future, if we can define its call signature conditionally
// on the existence of `children` in `P`, then we should remove this.
props: P & { children?: ReactNode };
state: S;