Skip to content

Commit d292167

Browse files
authored
Add tsdoc/jsdoc deprecated notice to Mirror (#1168)
1 parent f27e545 commit d292167

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.changeset/calm-bulldogs-speak.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/rrweb/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const DEPARTED_MIRROR_ACCESS_WARNING =
3030
'now you can use replayer.getMirror() to access the mirror instance of a replayer,' +
3131
'\r\n' +
3232
'or you can use record.mirror to access the mirror instance during recording.';
33+
/** @deprecated */
3334
export let _mirror: DeprecatedMirror = {
3435
map: {},
3536
getId() {

0 commit comments

Comments
 (0)