mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 17:23:51 -05:00
Merge from vscode fc10e26ea50f82cdd84e9141491357922e6f5fba (#4639)
This commit is contained in:
@@ -16,11 +16,11 @@ export class TelemetryAppenderChannel implements IServerChannel {
|
||||
|
||||
constructor(private appender: ITelemetryAppender) { }
|
||||
|
||||
listen<T>(_, event: string): Event<T> {
|
||||
listen<T>(_: unknown, event: string): Event<T> {
|
||||
throw new Error(`Event not found: ${event}`);
|
||||
}
|
||||
|
||||
call(_, command: string, { eventName, data }: ITelemetryLog): Promise<any> {
|
||||
call(_: unknown, command: string, { eventName, data }: ITelemetryLog): Promise<any> {
|
||||
this.appender.log(eventName, data);
|
||||
return Promise.resolve(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user