-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add explicit Flow typings alongside Typescript typings * Changed test file suffix * Changed test file location * Changed package.json script names for type checking * Changed Flow config to actually work * Changed CircleCI config * Fixed Flow declaration to provide correct and stricter typings * Removed `lib/` from package.json files * Removed a bunch of unused Flow types
- Loading branch information
Showing
32 changed files
with
275 additions
and
4,465 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
[ignore] | ||
|
||
[include] | ||
declarations/ | ||
|
||
[libs] | ||
declarations/ | ||
|
||
[options] | ||
esproposal.class_instance_fields=enable | ||
esproposal.class_static_fields=enable | ||
suppress_comment=.*\\$FlowFixMe | ||
suppress_comment=.*\\$FlowIssue | ||
module.name_mapper='^moment-range$' -> '<PROJECT_ROOT>/lib/moment-range' |
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
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 |
---|---|---|
|
@@ -722,6 +722,7 @@ yarn install | |
Do all the things! | ||
|
||
``` sh | ||
yarn run check | ||
yarn run test | ||
yarn run lint | ||
``` | ||
|
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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
machine: | ||
node: | ||
version: 6.1.0 | ||
version: 8.2.0 | ||
dependencies: | ||
pre: | ||
- npm install --global flow-bin | ||
override: | ||
- yarn | ||
test: | ||
override: | ||
- yarn test | ||
pre: | ||
- npm run lint | ||
- npm run flow | ||
- npm run typescript-test | ||
- yarn lint | ||
- yarn check:flow | ||
- yarn check:typescript |
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 @@ | ||
../lib/moment-range.js.flow |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.