Add type namespaces
This commit is contained in:
@@ -16,7 +16,8 @@ export type TestEnum = {|
|
||||
|
||||
|
||||
|
||||
export type TestNestedEnum = {|
|
||||
|
||||
export type TestMessage$TestNestedEnum = {|
|
||||
|
||||
ELEMENT_C?: 0;
|
||||
|
||||
@@ -26,7 +27,7 @@ export type TestNestedEnum = {|
|
||||
|
||||
|
||||
|
||||
export type TestNestedMessage = {|
|
||||
export type TestMessage$TestNestedMessage = {|
|
||||
|
||||
s?: string;
|
||||
|
||||
@@ -59,9 +60,9 @@ export type TestMessage = {|
|
||||
|
||||
u?: TestEnum;
|
||||
|
||||
v?: TestNestedEnum;
|
||||
v?: TestMessage$TestNestedEnum;
|
||||
|
||||
w?: Array<TestNestedMessage>;
|
||||
w?: Array<TestMessage$TestNestedMessage>;
|
||||
|
||||
|};
|
||||
|
||||
@@ -69,6 +70,7 @@ export type TestMessage = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestNoStreamRequest = {|
|
||||
|
||||
message?: TestMessage;
|
||||
@@ -79,6 +81,7 @@ export type TestNoStreamRequest = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestNoStreamReply = {|
|
||||
|
||||
message?: TestMessage;
|
||||
@@ -91,6 +94,7 @@ export type TestNoStreamReply = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestStreamRequestRequest = {|
|
||||
|
||||
message?: TestMessage;
|
||||
@@ -101,6 +105,7 @@ export type TestStreamRequestRequest = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestStreamRequestReply = {|
|
||||
|
||||
message?: TestMessage;
|
||||
@@ -113,6 +118,7 @@ export type TestStreamRequestReply = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestStreamReplyRequest = {|
|
||||
|
||||
message?: TestMessage;
|
||||
@@ -123,6 +129,7 @@ export type TestStreamReplyRequest = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestStreamReplyReply = {|
|
||||
|
||||
message?: TestMessage;
|
||||
@@ -135,6 +142,7 @@ export type TestStreamReplyReply = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestStreamBothRequest = {|
|
||||
|
||||
message?: TestMessage;
|
||||
@@ -145,6 +153,7 @@ export type TestStreamBothRequest = {|
|
||||
|
||||
|
||||
|
||||
|
||||
export type TestStreamBothReply = {|
|
||||
|
||||
message?: TestMessage;
|
||||
|
Reference in New Issue
Block a user