Skip to content

Instantly share code, notes, and snippets.

@rodoabad
Last active June 5, 2016 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodoabad/a78e76aa63fb10815f12d836b98b5666 to your computer and use it in GitHub Desktop.
Save rodoabad/a78e76aa63fb10815f12d836b98b5666 to your computer and use it in GitHub Desktop.
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