mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: update example-with-express.md (#10374)
This commit is contained in:
parent
ba7ad3c69b
commit
b8af97a31d
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user