Add options to HTTPMethod type

This commit is contained in:
2022-11-14 21:41:30 -06:00
parent 2d9f22b895
commit bbf2807cfa
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ import {ActivatedRoute} from '../routing/ActivatedRoute'
* Enumeration of different HTTP verbs.
* @todo add others?
*/
export type HTTPMethod = 'post' | 'get' | 'patch' | 'put' | 'delete' | 'unknown'
export type HTTPMethod = 'post' | 'get' | 'patch' | 'put' | 'delete' | 'options' | 'unknown'
/**
* Returns true if the given item is a valid HTTP verb.