Skip to content

Commit 6671adb

Browse files
cbeliveaumattberther
authored andcommitted
[fix] Added auditFile and frequency to option type (#230)
1 parent 07df921 commit 6671adb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

index.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ declare module "winston-daily-rotate-file" {
4545
* An object resembling https://nodejs.org/api/fs.html#fs_fs_createwritestream_path_options indicating additional options that should be passed to the file stream. (default: `{ flags: 'a' }`)
4646
*/
4747
options?: string | object;
48+
49+
/**
50+
* A string representing the name of the name of the audit file. (default: './hash-audit.json' )
51+
*/
52+
auditFile?: string
53+
54+
/**
55+
* A string representing the frequency of rotation. (default: 'custom')
56+
*/
57+
frequency?: string
4858
}
4959
}
5060

0 commit comments

Comments
 (0)