diff --git a/test/fixtures/convert/nullable-types/nullable05/flow.js b/test/fixtures/convert/nullable-types/nullable05/flow.js new file mode 100644 index 0000000..fc9f7a4 --- /dev/null +++ b/test/fixtures/convert/nullable-types/nullable05/flow.js @@ -0,0 +1,4 @@ +type Foo = { + name: ?string; + onChange: ?(arg0: string) => void; +}; \ No newline at end of file diff --git a/test/fixtures/convert/nullable-types/nullable05/ts.js b/test/fixtures/convert/nullable-types/nullable05/ts.js new file mode 100644 index 0000000..86877d2 --- /dev/null +++ b/test/fixtures/convert/nullable-types/nullable05/ts.js @@ -0,0 +1,4 @@ +type Foo = { + name: string | null | undefined; + onChange: ((arg0: string) => void) | null | undefined; +}; \ No newline at end of file