1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 12:40:26 +00:00

return incorrect not-null assertion

This commit is contained in:
Matt Gibson
2026-01-27 13:57:30 -08:00
parent 4bf306f83a
commit e1d4260f2a

View File

@@ -34,7 +34,7 @@ export class Scene<UpParams = unknown, Returns = void> {
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 {