Skip to content

Commit 73f8857

Browse files
committed
chore: rename types
1 parent 801ad1d commit 73f8857

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/entity/in_memory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ export class InMemoryEntity {
9191
*/
9292
clone(extraContext?: object): this {
9393
type ThisType = typeof this;
94-
type TConstructor = { new (o: object): ThisType };
94+
type ThisConstructor = { new (o: object): ThisType };
9595

96-
const object = new (this.constructor as TConstructor)({
96+
const object = new (this.constructor as ThisConstructor)({
9797
...this.toJSON(),
9898
...extraContext,
9999
});

0 commit comments

Comments
 (0)