Installation
npm install --save @types/hapi__content
Summary
This package contains type definitions for @hapi/content (https://github.com/hapijs/subtext#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__content.
index.d.ts
/// <reference types="node" />
export interface ContentType {
mime: string;
charset?: string;
boundary?: string;
}
export function type(header: string | undefined): ContentType;
export interface ContentDisposition {
name: string;
filename: string;
}
export function disposition(header: string | undefined): ContentDisposition;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/node
Credits
These definitions were written by Sebastian Malton.