From 0eefd229f7f83b12febdaae65e36b9996eb944d4 Mon Sep 17 00:00:00 2001 From: Davlatjon Shavkatov Date: Mon, 18 Oct 2021 10:14:00 +0500 Subject: [PATCH] fix(typescript): minor typescript improvement --- src/finders/request/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/finders/request/index.ts b/src/finders/request/index.ts index 14c6ce8..cdbca26 100644 --- a/src/finders/request/index.ts +++ b/src/finders/request/index.ts @@ -35,7 +35,7 @@ export default function caseRequestModeFinder( line_index: index, key: _skey, mode: _key - }; + } as IBlock; } return undefined; } @@ -49,7 +49,7 @@ export default function caseRequestModeFinder( line_index: index, key: _key, mode: 'property' - }; + } as IBlock; } // Headers matching @@ -96,7 +96,7 @@ export default function caseRequestModeFinder( line_index: index, key: _key, mode: 'property' - }; + } as IBlock; } } else { // Method matching