Fixed optional arg + spread bug.
0.0.7
Update index.js
Update README.md
Update README.md
Update example.js
Added test for multiple types.
0.0.8
Update index.js
Update index.js
added support for mixed type

also added a few tests for multiple type support
merged with uptream/master