We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 801ad1d commit 73f8857Copy full SHA for 73f8857
src/entity/in_memory.ts
@@ -91,9 +91,9 @@ export class InMemoryEntity {
91
*/
92
clone(extraContext?: object): this {
93
type ThisType = typeof this;
94
- type TConstructor = { new (o: object): ThisType };
+ type ThisConstructor = { new (o: object): ThisType };
95
96
- const object = new (this.constructor as TConstructor)({
+ const object = new (this.constructor as ThisConstructor)({
97
...this.toJSON(),
98
...extraContext,
99
});
0 commit comments