docs: update example-with-express.md (#10374)

This commit is contained in:
Akshay Barad 2023-09-30 15:18:08 +05:30 committed by GitHub
parent ba7ad3c69b
commit b8af97a31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ Let's create `app-data-source.ts` where we set up initial database connection op
```ts
import { DataSource } from "typeorm"
const myDataSource = new DataSource({
export const myDataSource = new DataSource({
type: "mysql",
host: "localhost",
port: 3306,