@enact/webos
Version:
webOS support library
23 lines (18 loc) • 456 B
TypeScript
// Type definitions for webos/LS2Request
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
/**
* A class for managing LS2 Requests.
*/
export declare class LS2Request {
constructor();
/**
* Send a request to an LS2 service method.
*/
send(options: object): LS2Request;
/**
* Cancel the current LS2 request.
*/
cancel(): void;
}
export default LS2Request;