Skip to content
Myr

Add Flow type annotations (#23)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Add flowtype annotations * Add flow to test script

authored by Brandon Dail · committed by Jason Miller · parent f147246 · Browse files · 6 files+53 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+53 added−9 removed

  • other:+53 added−9 removed

6 files+53 added−9 removed

modified:src/index.js+15 added-4 removed
modified:.babelrc+4 added-1 removed
1{2 "presets": ["es2015", "stage-0"]2 "presets": ["es2015", "stage-0"],3 "plugins": [4 "transform-flow-strip-types"5 ]6}
added:.flowconfig+7 added
1[ignore]23[include]45[libs]67[options]
modified:package.json+4 added-1 removed
modified:rollup.config.js+2 added
modified:yarn.lock+21 added-3 removed
668 unmodified lines
669 dependencies:670 babel-plugin-syntax-export-extensions "^6.8.0"671 babel-runtime "^6.0.0"672673babel-plugin-transform-flow-strip-types@^6.3.13:673babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.3.13:674 version "6.21.0"675 resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.21.0.tgz#2eea3f8b5bb234339b47283feac155cfb237b948"676 dependencies:677 babel-plugin-syntax-flow "^6.18.0"
188 unmodified lines
866 dependencies:867 babel-core "^6.0.14"868 object-assign "^4.0.0"869870babylon@^6.11.0, babylon@^6.13.0, babylon@^6.5.2:870babylon@^6.11.0, babylon@^6.13.0, babylon@^6.15.0, babylon@^6.5.2:871 version "6.15.0"872 resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.15.0.tgz#ba65cfa1a80e1759b0e89fb562e27dccae70348e"873874bail@^1.0.0:
807 unmodified lines
1682 del "^2.0.2"1683 graceful-fs "^4.1.2"1684 write "^0.2.1"16851686flow-bin@^0.38.0:1687 version "0.38.0"1688 resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.38.0.tgz#3ae096d401c969cc8b5798253fb82381e2d0237a"16891690flow-remove-types@^1.1.0:1691 version "1.2.0"1692 resolved "https://registry.yarnpkg.com/flow-remove-types/-/flow-remove-types-1.2.0.tgz#c285516eabba72177a1b10bfb58f6ffb675a8877"1693 dependencies:1694 babylon "^6.15.0"1695 vlq "^0.2.1"16961697for-in@^0.1.5:1698 version "0.1.6"1699 resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.6.tgz#c9f96e89bfad18a545af5ec3ed352a1d9e5b4dc8"1700
1674 unmodified lines
3375 dependencies:3376 buble "^0.15.0"3377 rollup-pluginutils "^1.5.0"33783368rollup-pluginutils@^1.5.0:3379rollup-plugin-flow@^1.1.1:3380 version "1.1.1"3381 resolved "https://registry.yarnpkg.com/rollup-plugin-flow/-/rollup-plugin-flow-1.1.1.tgz#6ce568f1dd559666b77ab76b4bae251407528db6"3382 dependencies:3383 flow-remove-types "^1.1.0"3384 rollup-pluginutils "^1.5.1"33853386rollup-pluginutils@^1.5.0, rollup-pluginutils@^1.5.1:3387 version "1.5.2"3388 resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz#1e156e778f94b7255bfa1b3d0178be8f5c552408"3389 dependencies:3390 estree-walker "^0.2.1"
724 unmodified lines