refactor: adjust to stricter lint rules

This commit is contained in:
Rainer Killinger
2023-01-30 11:27:09 +01:00
parent 0550f92b5f
commit 6d058f0750

View File

@@ -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