Packer (#172)
* introduce pako and add general packer interface * add tests for packer * use function API instead of class API for better tree shaking support * refcatoring the rollup bundle config
This commit is contained in:
4
typings/record/index.d.ts
vendored
4
typings/record/index.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
import { recordOptions, listenerHandler } from '../types';
|
||||
declare function record(options?: recordOptions): listenerHandler | undefined;
|
||||
import { eventWithTime, recordOptions, listenerHandler } from '../types';
|
||||
declare function record<T = eventWithTime>(options?: recordOptions<T>): listenerHandler | undefined;
|
||||
declare namespace record {
|
||||
var addCustomEvent: <T>(tag: string, payload: T) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user