diff --git a/readme.md b/readme.md index 3f9121b..8acbf58 100644 --- a/readme.md +++ b/readme.md @@ -69,7 +69,7 @@ tap.test('should define a testHandler', async () => { testTypedRouter.addTypedHandler(testTypedHandler); testServer.addRoute( '/testroute', - new smartexpress.HandlerTypedRouter(testTypedRouter as any) + new smartexpress.HandlerTypedRouter(testTypedRouter as any) // the "any" is testspecific, since smartexpress ships with its own version of typedrequest. ); }); diff --git a/test/test.ts b/test/test.ts index 6c4bcbd..29296c5 100644 --- a/test/test.ts +++ b/test/test.ts @@ -39,7 +39,7 @@ tap.test('should define a testHandler', async () => { testTypedRouter.addTypedHandler(testTypedHandler); testServer.addRoute( '/testroute', - new smartexpress.HandlerTypedRouter(testTypedRouter as any) + new smartexpress.HandlerTypedRouter(testTypedRouter as any) // the "any" is testspecific, since smartexpress ships with its own version of typedrequest. ); });