mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Open source react-native-modules ESLint rule
Summary: Open source this ESLint rule so that we can lint our open source NativeModule specs. Changelog: [Internal] Reviewed By: shergin, cpojer Differential Revision: D23791748 fbshipit-source-id: e44444bc87eaa9dc9b7f2b3ed03151798a35e8a5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
891b6b0c14
commit
3a6327a5d9
@@ -26,6 +26,7 @@ export interface Spec extends TurboModule {
|
||||
+getString: (arg: string) => string;
|
||||
+getArray: (arg: Array<any>) => Array<any>;
|
||||
+getObject: (arg: Object) => Object;
|
||||
// eslint-disable-next-line @react-native/codegen/react-native-modules
|
||||
+getRootTag: (arg: RootTag) => RootTag;
|
||||
+getValue: (x: number, y: string, z: Object) => Object;
|
||||
+getValueWithCallback: (callback: (value: string) => void) => void;
|
||||
|
||||
Reference in New Issue
Block a user