@react-native/codegen 0.77.0-nightly-20241027-dc2000c87 → 0.77.0-nightly-20241029-4076dbfc8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generators/modules/__test_fixtures__/fixtures.js +3 -1
- package/lib/generators/modules/__test_fixtures__/fixtures.js.flow +3 -1
- package/lib/parsers/flow/modules/__test_fixtures__/fixtures.js +1 -1
- package/lib/parsers/flow/modules/__test_fixtures__/fixtures.js.flow +1 -1
- package/lib/parsers/typescript/modules/__test_fixtures__/fixtures.js +1 -1
- package/lib/parsers/typescript/modules/__test_fixtures__/fixtures.js.flow +1 -1
- package/package.json +1 -1
|
@@ -491,7 +491,9 @@ const SIMPLE_NATIVE_MODULES = {
|
|
|
491
491
|
typeAnnotation: {
|
|
492
492
|
type: 'FunctionTypeAnnotation',
|
|
493
493
|
returnTypeAnnotation: {
|
|
494
|
-
|
|
494
|
+
name: 'StringEnum',
|
|
495
|
+
type: 'EnumDeclaration',
|
|
496
|
+
memberType: 'StringTypeAnnotation',
|
|
495
497
|
},
|
|
496
498
|
params: [
|
|
497
499
|
{
|
|
@@ -496,7 +496,9 @@ const SIMPLE_NATIVE_MODULES: SchemaType = {
|
|
|
496
496
|
typeAnnotation: {
|
|
497
497
|
type: 'FunctionTypeAnnotation',
|
|
498
498
|
returnTypeAnnotation: {
|
|
499
|
-
|
|
499
|
+
name: 'StringEnum',
|
|
500
|
+
type: 'EnumDeclaration',
|
|
501
|
+
memberType: 'StringTypeAnnotation',
|
|
500
502
|
},
|
|
501
503
|
params: [
|
|
502
504
|
{
|
|
@@ -786,7 +786,7 @@ export type CustomDeviceEvent = {
|
|
|
786
786
|
export interface Spec extends TurboModule {
|
|
787
787
|
+getCallback: () => () => void;
|
|
788
788
|
+getMixed: (arg: mixed) => mixed;
|
|
789
|
-
+getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) =>
|
|
789
|
+
+getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) => Quality;
|
|
790
790
|
+getBinaryTreeNode: (arg: BinaryTreeNode) => BinaryTreeNode;
|
|
791
791
|
+getGraphNode: (arg: GraphNode) => GraphNode;
|
|
792
792
|
+getMap: (arg: {[a: string]: ?number}) => {[b: string]: ?number};
|
|
@@ -811,7 +811,7 @@ export type CustomDeviceEvent = {
|
|
|
811
811
|
export interface Spec extends TurboModule {
|
|
812
812
|
+getCallback: () => () => void;
|
|
813
813
|
+getMixed: (arg: mixed) => mixed;
|
|
814
|
-
+getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) =>
|
|
814
|
+
+getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) => Quality;
|
|
815
815
|
+getBinaryTreeNode: (arg: BinaryTreeNode) => BinaryTreeNode;
|
|
816
816
|
+getGraphNode: (arg: GraphNode) => GraphNode;
|
|
817
817
|
+getMap: (arg: {[a: string]: ?number}) => {[b: string]: ?number};
|
|
@@ -869,7 +869,7 @@ export type CustomDeviceEvent = {
|
|
|
869
869
|
export interface Spec extends TurboModule {
|
|
870
870
|
readonly getCallback: () => () => void;
|
|
871
871
|
readonly getMixed: (arg: unknown) => unknown;
|
|
872
|
-
readonly getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) =>
|
|
872
|
+
readonly getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) => Quality;
|
|
873
873
|
readonly getBinaryTreeNode: (arg: BinaryTreeNode) => BinaryTreeNode;
|
|
874
874
|
readonly getGraphNode: (arg: GraphNode) => GraphNode;
|
|
875
875
|
readonly getMap: (arg: {[a: string]: number | null;}) => {[b: string]: number | null;};
|
|
@@ -900,7 +900,7 @@ export type CustomDeviceEvent = {
|
|
|
900
900
|
export interface Spec extends TurboModule {
|
|
901
901
|
readonly getCallback: () => () => void;
|
|
902
902
|
readonly getMixed: (arg: unknown) => unknown;
|
|
903
|
-
readonly getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) =>
|
|
903
|
+
readonly getEnums: (quality: Quality, resolution?: Resolution, stringOptions: StringOptions) => Quality;
|
|
904
904
|
readonly getBinaryTreeNode: (arg: BinaryTreeNode) => BinaryTreeNode;
|
|
905
905
|
readonly getGraphNode: (arg: GraphNode) => GraphNode;
|
|
906
906
|
readonly getMap: (arg: {[a: string]: number | null;}) => {[b: string]: number | null;};
|