Skip to content

Commit 6afebd3

Browse files
committed
update canvasmanagerinterface
1 parent 833e0d8 commit 6afebd3

File tree

1 file changed

+4
-1
lines changed
  • packages/replay-internal/src/types

1 file changed

+4
-1
lines changed

packages/replay-internal/src/types/rrweb.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type ReplayEventWithTime = {
3131

3232
/**
3333
* This is a partial copy of rrweb's recording options which only contains the properties
34-
* we specifically us in the SDK. Users can specify additional properties, hence we add the
34+
* we specifically use in the SDK. Users can specify additional properties, hence we add the
3535
* Record<string, unknown> union type.
3636
*/
3737
export type RrwebRecordOptions = {
@@ -52,6 +52,9 @@ export interface CanvasManagerInterface {
5252
lock(): void;
5353
unlock(): void;
5454
snapshot(): void;
55+
addWindow(win: typeof globalThis & Window): void;
56+
addShadowRoot(): void;
57+
resetShadowRoots(): void;
5558
}
5659

5760
export interface CanvasManagerOptions {

0 commit comments

Comments
 (0)