re-add addCustomEvent function via function property
This commit is contained in:
4
typings/record/index.d.ts
vendored
4
typings/record/index.d.ts
vendored
@@ -1,4 +1,6 @@
|
||||
import { recordOptions, listenerHandler } from '../types';
|
||||
export declare function addCustomEvent<T>(tag: string, payload: T): void;
|
||||
declare function record(options?: recordOptions): listenerHandler | undefined;
|
||||
declare namespace record {
|
||||
var addCustomEvent: <T>(tag: string, payload: T) => void;
|
||||
}
|
||||
export default record;
|
||||
|
||||
Reference in New Issue
Block a user