mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
32 lines
732 B
TypeScript
32 lines
732 B
TypeScript
/// <reference types="node" />
|
|
|
|
import { Transform, TransformOptions } from 'stream';
|
|
|
|
export = Stringer;
|
|
|
|
declare class Stringer extends Transform {
|
|
constructor(options?: Stringer.StringerOptions);
|
|
}
|
|
|
|
declare namespace Stringer {
|
|
interface StringerOptions extends TransformOptions {
|
|
useValues?: boolean;
|
|
useStringValues?: boolean;
|
|
separator?: string;
|
|
}
|
|
|
|
function make(options?: StringerOptions): Stringer;
|
|
|
|
namespace make {
|
|
type Constructor = Stringer;
|
|
const Constructor: typeof Stringer;
|
|
}
|
|
|
|
function stringer(options?: StringerOptions): Stringer;
|
|
|
|
namespace stringer {
|
|
type Constructor = Stringer;
|
|
const Constructor: typeof Stringer;
|
|
}
|
|
}
|