Last active
June 5, 2016 01:19
-
-
Save rodoabad/a78e76aa63fb10815f12d836b98b5666 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const t = require('tcomb'); | |
const Employee = t.struct({ | |
first: t.String, | |
last: t.String | |
}, 'Employee'); | |
module.exports = Employee; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment