12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
import { Router } from 'express';
|
|
export declare type ReloaderConfig = {
|
|
frontendDirs: string | string[];
|
|
subPath?: string;
|
|
jsName?: string;
|
|
};
|
|
declare function getRouter(opts: ReloaderConfig): Router;
|
|
export declare const AutoReloader: {
|
|
getRouter: typeof getRouter;
|
|
};
|
|
export {};
|