6.0.3 • Published 6 months ago
@types/hapi__content v6.0.3
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
// Type definitions for @hapi/content 6.0
// Project: https://github.com/hapijs/subtext#readme
// Definitions by: Sebastian Malton <https://github.com/nokel81>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <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 Jun 2022 20:31:34 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Sebastian Malton.