UNPKG

@gabliam/koa

Version:
20 lines (19 loc) 415 B
/** * Represent a custom router creator * * If you want a custom router use this const for create your router * * ## Sample * @Config() * class Conf { * @Bean(CUSTOM_ROUTER_CREATOR) * custom() { * return () => * e.Router({ * caseSensitive: true * }); * } * } */ export declare const CUSTOM_ROUTER_CREATOR: unique symbol; export declare const KOA_PLUGIN_CONFIG: unique symbol;