fixed node types for style text "validateStream" (#54778)

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

Changelog: [Internal]

The correct value is `validateStream` and not `validStream`

https://nodejs.org/api/util.html#utilstyletextformat-text-options

Reviewed By: huntie

Differential Revision: D88368928

fbshipit-source-id: 0f9a9bf0aaa13b325dd22aed8c07d8dab38e5f17
This commit is contained in:
Vitali Zaidman authored and meta-codesync[bot] committed 2025-12-10 01:49:36 -08:00
1 parent 1c282d7ef1
commit 753c1e1231
1 file changed
+1 -1
+1 -1
View File
@@ -3375,7 +3375,7 @@ declare module 'util' {
text: string,
options?: $ReadOnly<{
stream?: ?stream$Stream,
validStream?: ?boolean,
validateStream?: ?boolean,
}>,
): string;
}