mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 01:47:21 +08:00
11 lines
225 B
TypeScript
11 lines
225 B
TypeScript
/// <reference path="logrotate-stream.d.ts" />
|
|
|
|
import stream = require("stream");
|
|
import rotateStream = require("logrotate-stream");
|
|
|
|
var s: stream.Writable = rotateStream({
|
|
file: "mylogfile.log",
|
|
size: "1m",
|
|
keep: 3
|
|
});
|