matrix-react-sdk
Version:
SDK for matrix.org using React
18 lines (17 loc) • 547 B
TypeScript
import BasePlatform from "./BasePlatform";
export declare class PlatformPeg {
platform: BasePlatform;
/**
* Returns the current Platform object for the application.
* This should be an instance of a class extending BasePlatform.
*/
get(): BasePlatform;
/**
* Sets the current platform handler object to use for the
* application.
* This should be an instance of a class extending BasePlatform.
*/
set(plaf: BasePlatform): void;
}
declare const _default: PlatformPeg;
export default _default;