Skip to content

Commit

Permalink
refactor: export Parsed... types
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Aug 20, 2024
1 parent 84b5731 commit d88d842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parsers/multipart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import { type ParsedHeaders, parseHttpHeader } from '@/parsers/http-headers'
import { splitBuffer } from '@/utils/split-buffer'
import { ClientError } from '@otterhttp/errors'

type ParsedMultipartDataPart = {
export type ParsedMultipartDataPart = {
headers: ParsedHeaders
content: Buffer
}

type ParsedMultipartData = Array<ParsedMultipartDataPart>
export type ParsedMultipartData = Array<ParsedMultipartDataPart>

const CRLF = Buffer.from('\r\n')

Expand Down

0 comments on commit d88d842

Please sign in to comment.