diff --git a/libs/playwright-helpers/src/scene.ts b/libs/playwright-helpers/src/scene.ts index 5f6018657d3..82c39c080ca 100644 --- a/libs/playwright-helpers/src/scene.ts +++ b/libs/playwright-helpers/src/scene.ts @@ -34,7 +34,7 @@ export class Scene { if (!this.inited) { throw new Error("Scene must be initialized before accessing returnValue"); } - return this._returnValue!; + return this._returnValue as Returns; } mangle(id: string): string {