@types/from
TypeScript icon, indicating that this package has built-in type declarations

0.1.32 • Public • Published

Installation

npm install --save @types/from

Summary

This package contains type definitions for from (https://github.com/dominictarr/from).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/from.

index.d.ts

/// <reference types="node" />

declare var mod: mod.From;

declare namespace mod {
    interface From {
        (getChunk: (count: number, next: () => any) => any): NodeJS.ReadableStream;
        (chunks: any[]): NodeJS.ReadableStream;
        emit(type: string, data: any): void;
    }
}

export = mod;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Bart van der Schoor.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/from

Weekly Downloads

2,337

Version

0.1.32

License

MIT

Unpacked Size

3.19 kB

Total Files

5

Last publish

Collaborators

  • types