mp-lens
Version:
微信小程序分析工具 (Unused Code, Dependencies, Visualization)
13 lines (12 loc) • 340 B
TypeScript
import { TelemetryEvent } from './events';
declare class TelemetryService {
private enabled;
private userId;
private initialized;
init(options: {
telemetry?: boolean;
}): void;
capture(event: Omit<TelemetryEvent, 'userId' | 'timestamp'>): void;
}
export declare const telemetry: TelemetryService;
export {};