typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
14 lines (11 loc) • 475 B
TypeScript
/// <reference path="../../../globals.d.ts" />
/// <reference path="./messagechannel.d.ts" />
declare module goog.messaging {
/**
* Creates a bidirectional pipe between two message channels.
*
* @param {goog.messaging.MessageChannel} channel1 The first channel.
* @param {goog.messaging.MessageChannel} channel2 The second channel.
*/
function pipe(channel1: goog.messaging.MessageChannel, channel2: goog.messaging.MessageChannel): void;
}