diff --git a/src/lib/output/events.ts b/src/lib/output/events.ts index 44e6b0b3a..f8d250e81 100644 --- a/src/lib/output/events.ts +++ b/src/lib/output/events.ts @@ -159,7 +159,7 @@ export class PageEvent { if (typeof nameOrModel === "string") { this.model = model!; } else { - this.model = nameOrModel as Model; + this.model = nameOrModel; } } }