Skip to content

Commit

Permalink
feat: Add missing HTTP verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
sigfriedCub1990 committed Feb 14, 2024
1 parent 3beac69 commit 10d4fed
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/models.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
import React from 'react'
import type { RenderResult as TLRenderResult } from '@testing-library/react'

export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'OPTIONS'
export type HttpMethod =
| 'GET'
| 'POST'
| 'PUT'
| 'PATCH'
| 'DELETE'
| 'OPTIONS'
| 'HEAD'
| 'CONNECT'
| 'TRACE'

export interface WrapRequest extends Partial<Request> {
_bodyInit?: string
Expand Down

0 comments on commit 10d4fed

Please sign in to comment.