init the repo and integrate rrweb-snapshot
This commit is contained in:
12
src/types.ts
Normal file
12
src/types.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export enum EventType {
|
||||
DomContentLoaded,
|
||||
Load,
|
||||
FullSnapshot,
|
||||
IncrementalSnapshot,
|
||||
}
|
||||
|
||||
export type event = {
|
||||
type: EventType;
|
||||
timestamp: number;
|
||||
data: any;
|
||||
};
|
||||
Reference in New Issue
Block a user