From 06d8677cde28467e830bf77bc2cbfdaca37740aa Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Tue, 16 Apr 2019 21:58:07 -0700 Subject: [PATCH] Remove excess proprty from hapi tests (#34790) Found while working on Microsoft/TypeScript#30853 - asd is never augmented into HandlerDecorations in any tests, so it's excess and, with the mentioned PR, an error. https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34701 but again for the new location of the types, pretty much. --- types/hapi__hapi/test/server/server-decorations.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/hapi__hapi/test/server/server-decorations.ts b/types/hapi__hapi/test/server/server-decorations.ts index 5e4e49a454..23e15093c8 100644 --- a/types/hapi__hapi/test/server/server-decorations.ts +++ b/types/hapi__hapi/test/server/server-decorations.ts @@ -26,8 +26,7 @@ server.route({ handler: { test: { test: 123, - }, - asd: 1, + } } });