var InputTypes = require('./input-types')
function App() { InputTypes.apply(App, arguments) }
App.inputTypes = [
InputTypes.object,
(val) => typeof val === InputTypes.string || typeof val === InputTypes.number,
[
InputTypes.number,
InputTypes.string,
[
InputTypes.string,
InputTypes.number,
InputTypes.object
]
],
InputTypes.func
]
App({a: '123'}, 'hello world', [1, '2', ['1', 3, {}]], () => {})
nvm install; npm test