Closed hanfeisun closed 8 years ago
No, this should work, sounds like a bug.
Just a quick sense check on this one, can you explicitly set the NODE_ENV=development
for your command. I've read that in some environments it's not guaranteed to default to 'development'.
node doesn't default to development
, it defaults to no env set, so yes this could be related.
Added a test for this but could not replicate in 3.7.0.
Here is my Javascript code:
It works without throwing errors.
And following is my
.babelrc
file:Does that mean there is no checking for type alias for object currently?