diff --git a/index.js b/index.js index 43c2d35..2920784 100644 --- a/index.js +++ b/index.js @@ -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.