Skip to content

Commit

Permalink
use Headers type in parse_body
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanJPNM committed Aug 17, 2021
1 parent b572a8f commit bedda81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/runtime/server/parse_body/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { read_only_form_data } from './read_only_form_data.js';

/**
* @param {import('types/hooks.js').RawBody} raw
* @param {Partial<import('types/helper').Headers>} headers
* @param {import('types/helper').Headers} headers
*/
export function parse_body(raw, headers) {
if (!raw) return raw;
Expand Down

0 comments on commit bedda81

Please sign in to comment.