Skip to content

Commit

Permalink
Use the 'ts-node/register' shortcut.
Browse files Browse the repository at this point in the history
  • Loading branch information
westy92 committed Apr 10, 2017
1 parent 53684fc commit 096aeeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
'migrator:migration:hook:require': function() {

// We use ts-node because the official typescript module does not implement the register() method
require('ts-node').register();
require('ts-node/register');

/**
* Return value of this hook can be both, pure value or a promise.
Expand Down

0 comments on commit 096aeeb

Please sign in to comment.