Add options to HTTPMethod type
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user