mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add typing for children of react-document-title react-document-title uses React.Children.only to get the only child, and raises an error if more than one child is passed. https://github.com/gaearon/react-document-title/blob/master/index.js#L31 * Add a test case with a child * Turns out it should be React.ReactChild Turns out it should be React.ReactChild * Fix typo |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| react-document-title-tests.tsx | ||
| tsconfig.json | ||
| tslint.json | ||