mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
refactor: adjust to stricter lint rules
This commit is contained in:
@@ -42,7 +42,7 @@ const httpVerbs = [
|
|||||||
/**
|
/**
|
||||||
* Strings that can be used as HTTP verbs (e.g. in requests): 'get' | 'post' | 'put' | 'delete' etc.
|
* 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
|
* Provides information if a text (representing a method) is an HTTP verb
|
||||||
|
|||||||
Reference in New Issue
Block a user