Fix typo in README

This commit is contained in:
d-yokoi 2018-04-15 00:45:25 +09:00
parent 6d0507233b
commit 84d7eb99e0
No known key found for this signature in database
GPG Key ID: 49EAF81BC6A0D19A
2 changed files with 2 additions and 2 deletions

View File

@ -1114,7 +1114,7 @@ export class Photo {
记得把`Album`实体加到ConnectionOptions中:
```typescript
const options: CreateConnectionOptions = {
const options: ConnectionOptions = {
// ... 其他配置
entities: [Photo, PhotoMetadata, Author, Album]
};

View File

@ -1159,7 +1159,7 @@ After you run the application, the ORM will create a **album_photos_photo_albums
Don't forget to register the `Album` class with your connection in the ORM:
```typescript
const options: CreateConnectionOptions = {
const options: ConnectionOptions = {
// ... other options
entities: [Photo, PhotoMetadata, Author, Album]
};