Skip to content

Commit 4aa1e2c

Browse files
authored
workaround for ts typings (#315)
* Revert "pull specific commit of winston-transport for ts updates" This reverts commit 907d83a. * add interface definition from winston-transport as workaround until new version is pushed
1 parent f20cca1 commit 4aa1e2c

File tree

3 files changed

+8
-32
lines changed

3 files changed

+8
-32
lines changed

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ declare namespace DailyRotateFile {
9393
* The name of the tailable symlink. (default: 'current.log')
9494
*/
9595
symlinkName?: string;
96+
97+
handleRejections?: boolean;
9698
}
9799
}
98100

package-lock.json

Lines changed: 5 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
"file-stream-rotator": "^0.5.7",
4444
"object-hash": "^2.0.1",
4545
"triple-beam": "^1.3.0",
46-
"winston-transport": "https://github.com/winstonjs/winston-transport/archive/868d6577956f82ee0b021b119a4de938c61645f7.tar.gz"
46+
"winston-transport": "^4.4.0"
4747
}
4848
}

0 commit comments

Comments
 (0)