mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 07:33:36 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
10 lines
388 B
TypeScript
10 lines
388 B
TypeScript
import DefaultResolver from '../../common/resolvers/DefaultResolver';
|
|
/**
|
|
* A custom route resolver for ExtensionPage that generates handles routes
|
|
* to default extension pages or a page provided by an extension.
|
|
*/
|
|
export default class ExtensionPageResolver extends DefaultResolver {
|
|
static extension: string | null;
|
|
onmatch(args: any, requestedPath: any, route: any): any;
|
|
}
|