mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-12 03:42:46 +00:00
* remove non-existing constructor method from Array in Ember * removed method named "new" and added a constructor to the Collaborator class in google-drive-realtime * made LocalizedObservable into the class that it actually is in Knockout * removed a method named "constructor" and replaced it with a constructor in microsoft-ajax * removed a method called "new" and replaced it with a constructor in microsoft-ajax * autoformat * made QueryCursor into the class it actually is in mongoose * made Connection into a class * made QueryStream and QueryCursor into a classes * removed two methods called "new" and replaced them with constructors * change EventSubscriptionVendor into a class * removed class only used internally Route (it had a wrongly declared method named "constructor") * removed non-existing method named "constructor" in rx-angular * made StackFrame into a class * made StreamMeter into a class * removed a method named "new" and replaced it with a constructor
21 lines
531 B
TypeScript
21 lines
531 B
TypeScript
// Type definitions for stream-meter
|
|
// Project: https://github.com/brycebaril/node-stream-meter
|
|
// Definitions by: TANAKA Koichi <https://github.com/mugeso>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
/// <reference types="node" />
|
|
|
|
|
|
import { Transform } from 'stream';
|
|
|
|
declare function m(maxBytes?: number): m.StreamMeter;
|
|
|
|
declare namespace m {
|
|
export class StreamMeter extends Transform {
|
|
constructor(maxBytes?: number);
|
|
bytes: number;
|
|
maxBytes: number;
|
|
}
|
|
}
|
|
|
|
export = m;
|