Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Tests for #222
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinbarabash committed Mar 1, 2021
1 parent cc43efa commit 656463d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/fixtures/convert/nullable-types/nullable05/flow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type Foo = {
name: ?string;
onChange: ?(arg0: string) => void;
};
4 changes: 4 additions & 0 deletions test/fixtures/convert/nullable-types/nullable05/ts.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type Foo = {
name: string | null | undefined;
onChange: ((arg0: string) => void) | null | undefined;
};

0 comments on commit 656463d

Please sign in to comment.