Skip to content

Commit bba9735

Browse files
committed
refactor(hapi): dont need application state
1 parent 98443c0 commit bba9735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fixtures/hapi/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Server, ServerApplicationState } from '@hapi/hapi';
1+
import { Server } from '@hapi/hapi';
22
import '../controllers/rootController';
33

44
import '../controllers/optionsController';
@@ -23,7 +23,7 @@ import { RegisterRoutes } from './routes';
2323

2424
export const server = new Server({});
2525

26-
(RegisterRoutes as (app: Server<ServerApplicationState>) => void)(server);
26+
(RegisterRoutes as (app: Server) => void)(server);
2727

2828
server.start().catch(err => {
2929
if (err) {

0 commit comments

Comments
 (0)