UNPKG

@chubbyts/chubbyts-api

Version:

[![CI](https://github.com/chubbyts/chubbyts-api/workflows/CI/badge.svg?branch=master)](https://github.com/chubbyts/chubbyts-api/actions?query=workflow%3ACI) [![Coverage Status](https://coveralls.io/repos/github/chubbyts/chubbyts-api/badge.svg?branch=maste

5 lines (4 loc) 326 B
import type { Data } from '@chubbyts/chubbyts-decode-encode/dist'; import type { Decoder } from '@chubbyts/chubbyts-decode-encode/dist/decoder'; import type { ServerRequest } from '@chubbyts/chubbyts-http-types/dist/message'; export declare const parseRequestBody: (decoder: Decoder, request: ServerRequest) => Promise<Data>;