codemix / babel-plugin-typecheck

Static and runtime type checking for JavaScript in the form of a Babel plugin.
MIT License
886 stars 44 forks source link

Strange error #138

Closed haf closed 8 years ago

haf commented 8 years ago
screen shot 2016-04-02 at 17 20 52 screen shot 2016-04-02 at 17 12 48 screen shot 2016-04-02 at 17 10 41

It would seem that I'm getting exceptions when I should not. Like template is not defined when I call Message.create despite it obviously existing in the object I pass?

I'm using splats and object construction from es2015 and stage-2.

phpnode commented 8 years ago

@haf please could you try enabling babel's passPerPreset option?

haf commented 8 years ago

Sorry, not working on this anymore.