But be careful with this approach.If you are using then you need to specify paths to .ts files instead.If you are using outDir then you’ll need to specify paths to files inside outDir directory.If you are using outDir and when you remove or rename your entities make sure to clear outDir directoryand re-compile your project again, because when you remove your source files their compiled .js versionsaren’t removed from output directory and still are loaded by TypeORM because they are present in the outDir directory.