re-add addCustomEvent function via function property

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent f872ed143b
commit 2ac8634607
4 changed files with 24 additions and 18 deletions

3
typings/index.d.ts vendored
View File

@@ -1,5 +1,6 @@
import record, { addCustomEvent } from './record';
import record from './record';
import { Replayer } from './replay';
import { mirror } from './utils';
export { EventType, IncrementalSource, MouseInteractions, ReplayerEvents, } from './types';
declare const addCustomEvent: <T>(tag: string, payload: T) => void;
export { record, addCustomEvent, Replayer, mirror };