mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: removed unnecessary slash in comments (#9533)
This commit is contained in:
parent
26107e6b31
commit
b566d54de3
@ -1000,7 +1000,7 @@ Let's change our photo's `@OneToOne` decorator a bit:
|
||||
|
||||
```typescript
|
||||
export class Photo {
|
||||
/// ... other columns
|
||||
// ... other columns
|
||||
|
||||
@OneToOne(() => PhotoMetadata, (metadata) => metadata.photo, {
|
||||
cascade: true,
|
||||
@ -1155,7 +1155,7 @@ Now let's add the inverse side of our relation to the `Photo` class:
|
||||
|
||||
```typescript
|
||||
export class Photo {
|
||||
/// ... other columns
|
||||
// ... other columns
|
||||
|
||||
@ManyToMany(() => Album, (album) => album.photos)
|
||||
albums: Album[]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user