Add options
to HTTPMethod type
This commit is contained in:
parent
2d9f22b895
commit
bbf2807cfa
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@extollo/lib",
|
"name": "@extollo/lib",
|
||||||
"version": "0.14.8",
|
"version": "0.14.9",
|
||||||
"description": "The framework library that lifts up your code.",
|
"description": "The framework library that lifts up your code.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
@ -13,7 +13,7 @@ import {ActivatedRoute} from '../routing/ActivatedRoute'
|
|||||||
* Enumeration of different HTTP verbs.
|
* Enumeration of different HTTP verbs.
|
||||||
* @todo add others?
|
* @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.
|
* Returns true if the given item is a valid HTTP verb.
|
||||||
|
Loading…
Reference in New Issue
Block a user