export utils as public API

This commit is contained in:
Yanzhen Yu
2020-06-15 17:10:18 +08:00
parent 7feb2c945c
commit 4cf196718c
7 changed files with 16 additions and 11 deletions

3
typings/index.d.ts vendored
View File

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