mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-27 00:15:09 +08:00
Merge pull request #8607 from waywardmonkeys/fix-typos
react: Fix typo in comment.
This commit is contained in:
2
react/react.d.ts
vendored
2
react/react.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user