Skip to content

Instantly share code, notes, and snippets.

@rodoabad
Last active June 5, 2016 01:20
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/2a10917353d2c5dab10d868be814fad4 to your computer and use it in GitHub Desktop.
Save rodoabad/2a10917353d2c5dab10d868be814fad4 to your computer and use it in GitHub Desktop.
const Employee = require('./employee.js');
const t = require('tcomb');
const ExtendedEmployee = Employee.extend({
selected: t.Bool
}, 'ExtendedEmployee');
module.exports = ExtendedEmployee;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment