mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Fix a few readonly 10/n (#56948)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56948 ``` js1 flow-runner codemod flow/transformAllVariance --variance readonly --format-files=false ``` drop-conflicts landed-with-radar-review Reviewed By: SamChou19815 Differential Revision: D106144499 fbshipit-source-id: 85493334eae630d3dec7e5920633c076f8f09729
This commit is contained in:
1 parent
0676eb63a2
commit
09fc0432d1
193 files changed
+1473
-1312
No files matched your search
@@ -15,7 +15,7 @@ import {TurboModuleRegistry} from 'react-native';
|
||||
export type ScreenshotManagerOptions = CodegenTypes.UnsafeObject;
|
||||
|
||||
export interface Spec extends TurboModule {
|
||||
+getConstants: () => {};
|
||||
readonly getConstants: () => {};
|
||||
takeScreenshot(
|
||||
id: string,
|
||||
options: ScreenshotManagerOptions,
|
||||
|
||||
Reference in new issue
Block a user