framework/js/dist-typings/common/states/PageState.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

17 lines
481 B
TypeScript

export default class PageState {
constructor(type: any, data?: {});
type: any;
data: {};
/**
* Determine whether the page matches the given class and data.
*
* @param {object} type The page class to check against. Subclasses are
* accepted as well.
* @param {object} data
* @return {boolean}
*/
matches(type: object, data?: object): boolean;
get(key: any): any;
set(key: any, value: any): void;
}