update defineFunction to accept a single arg, introduce flow to do some typechecking

This commit is contained in:
Kevin Barabash
2017-08-19 21:18:12 -04:00
committed by Kevin Barabash
parent a99c7c9e0f
commit d8116bdc64
7 changed files with 174 additions and 131 deletions

View File

@@ -21,12 +21,14 @@
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-flow": "^6.23.0",
"babel-register": "^6.24.0",
"babelify": "^7.3.0",
"browserify": "^13.3.0",
"clean-css": "^3.4.23",
"eslint": "^3.13.0",
"express": "^4.14.0",
"flow-bin": "^0.53.1",
"glob": "^7.1.1",
"jest": "^20.0.4",
"jest-serializer-html": "^4.0.0",