/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ declare module 'vscode' { export namespace env { export function getDataChannel(channelId: string): DataChannel; } export interface DataChannel { readonly onDidReceiveData: Event>; } export interface DataChannelEvent { data: T; } }