rasengan
Version:
The modern React Framework
9 lines (8 loc) • 300 B
TypeScript
import { RouterProps } from '../types.js';
import { RouterComponent } from '../interfaces.js';
/**
* This function adds metadata to a router
* @param option
* @returns
*/
export declare const defineRouter: (option: RouterProps) => (Router: new () => RouterComponent) => Promise<RouterComponent>;