2.0.5 • Published 6 months ago

@types/express-form-data v2.0.5

Weekly downloads
509
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/express-form-data

Summary

This package contains type definitions for express-form-data (https://github.com/ortexx/express-form-data#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-form-data.

index.d.ts

// Type definitions for express-form-data 2.0
// Project: https://github.com/ortexx/express-form-data#readme
// Definitions by: nomnes <https://github.com/NomNes>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import { NextHandleFunction } from 'connect';
import { FormOptions } from 'multiparty';

export interface FormDataOptions extends FormOptions {
    autoClean?: boolean | undefined;
}

export function parse(options?: FormDataOptions): NextHandleFunction;

export function format(): NextHandleFunction;

export function stream(): NextHandleFunction;

export function union(): NextHandleFunction;

Additional Details

Credits

These definitions were written by nomnes.