Skip to content

Commit 096aeeb

Browse files
committed
Use the 'ts-node/register' shortcut.
1 parent 53684fc commit 096aeeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
'migrator:migration:hook:require': function() {
88

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

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

0 commit comments

Comments
 (0)