Add options to HTTPMethod type

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

View File

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

View File

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