When executing the command npm run start: dev
with migrations configured I receive the error import {MigrationInterface, QueryRunner} from "typeorm"; SyntaxError: Cannot use import statement outside a module
I fix it by moving the migrations folder inside src.