Skip to content

Commit 1ad851f

Browse files
committed
fix: add cacheSize to IRouterConfig type declaration
1 parent f5d65cd commit 1ad851f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

common.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {Pattern, Methods} from 'trouter'
22
import {Logger} from 'pino'
33

44
export interface IRouterConfig {
5+
cacheSize?: number
56
defaultRoute?: RequestHandler
67
errorHandler?: (err: Error) => Response | Promise<Response>
78
port?: number

0 commit comments

Comments
 (0)