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

@@ -1,5 +1,5 @@
{
"presets": ["es2015"],
"presets": ["es2015", "flow"],
"plugins": [
"transform-runtime",
"transform-class-properties"