Fixes JSDoc in Clipboard setString (#36381)

Summary:
There was a JSDoc mismatch in `Clipboard.setString` method, `the` was considered as a parameter name, not `content`. Added correct param name and kept the same description as before, separated with a hyphen.

## Changelog

[GENERAL] [FIXED] - Fixes JSDoc in Cliapboard setString

Pull Request resolved: https://github.com/facebook/react-native/pull/36381

Test Plan: No tests needed

Reviewed By: yungsters

Differential Revision: D43839086

Pulled By: cortinico

fbshipit-source-id: 126035d9796e66938402704eaf9bc8646ee9b78b
This commit is contained in:
Mikhail Mikhaylov
2023-03-06 10:25:32 -08:00
committed by Facebook GitHub Bot
parent e088f81375
commit 0ecb4e64f0
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = {
* Clipboard.setString('hello world');
* }
* ```
* @param the content to be stored in the clipboard.
* @param {string} content the content to be stored in the clipboard.
*/
setString(content: string) {
NativeClipboard.setString(content);