Commit 85efc59
committed
fix(replay): fix rrwebRecord return type to include undefined
The upstream rrweb record() returns undefined when initialization
fails, but the local type declared it as () => void. This meant
TypeScript wouldn't warn about the missing undefined check.1 parent 0b5cac8 commit 85efc59
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments