This repository has been archived by the owner on May 19, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I also noticed that there was missing test coverage for builtin types, so I added a test for that, which includes the newly added type as well as the other existing types.
- Loading branch information
1 parent
c300230
commit 44f77bd
Showing
3 changed files
with
830 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// bounds | ||
type T = any; | ||
type T = mixed; | ||
type T = empty; | ||
// builtins | ||
type T = void; | ||
type T = number; | ||
type T = string; | ||
type T = bool; | ||
type T = boolean; | ||
// literal type annotations | ||
type T = null; | ||
type T = ""; | ||
type T = 0; | ||
type T = true; | ||
type T = false; |
Oops, something went wrong.