From 6d058f0750fd1081f690a75bc075dc1ba0348fa3 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Mon, 30 Jan 2023 11:27:09 +0100 Subject: [PATCH] refactor: adjust to stricter lint rules --- src/routes/http-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/http-types.ts b/src/routes/http-types.ts index dc6f8771..63d8ea2a 100644 --- a/src/routes/http-types.ts +++ b/src/routes/http-types.ts @@ -42,7 +42,7 @@ const httpVerbs = [ /** * Strings that can be used as HTTP verbs (e.g. in requests): 'get' | 'post' | 'put' | 'delete' etc. */ -export type HTTPVerb = typeof httpVerbs[number]; +export type HTTPVerb = (typeof httpVerbs)[number]; /** * Provides information if a text (representing a method) is an HTTP verb