re-add addCustomEvent function via function property

This commit is contained in:
Yanzhen Yu
2019-08-12 21:52:24 +08:00
parent 3beb57273e
commit 487165791a
4 changed files with 24 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
import record, { addCustomEvent } from './record';
import record from './record';
import { Replayer } from './replay';
import { mirror } from './utils';
@@ -8,4 +8,7 @@ export {
MouseInteractions,
ReplayerEvents,
} from './types';
const { addCustomEvent } = record;
export { record, addCustomEvent, Replayer, mirror };