mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Use lowercase "string" so that the documentation complies with typecheckers
This commit is contained in:
@@ -27,7 +27,7 @@ var invariant = require('invariant');
|
||||
|
||||
/**
|
||||
* @param {ReactComponent} component
|
||||
* @return {String} the markup
|
||||
* @return {string} the markup
|
||||
*/
|
||||
function renderComponentToString(component) {
|
||||
invariant(
|
||||
|
||||
Reference in New Issue
Block a user