data-transport
Version:
A simple and responsive transport
14 lines • 622 B
TypeScript
import type { BaseInteraction, TransportOptions } from '../interface';
import { Transport } from '../transport';
export interface MessageTransportOptions extends Partial<TransportOptions> {
/**
* Specify what the origin of targetWindow must be for the event to be dispatched,
* by default, it's the literal string "*" (indicating no preference).
*/
targetOrigin?: string;
}
declare abstract class MessageTransport<T extends BaseInteraction = any> extends Transport<T> {
constructor(_options: MessageTransportOptions);
}
export { MessageTransport };
//# sourceMappingURL=messageTransport.d.ts.map