Types definitions needed
See original GitHub issueI’m trying to use winston-daily-rotate-file with typescript, I just noticed types declarations are not available at types/winston-daily-rotate-file
I’m new to typescript, can someone write a proper types declarations for this?
For now I have added some simple types declarations and everything seems to be working fine. I’m sharing it in case anyone is looking for it.
declare module 'winston-daily-rotate-file' {
import { DailyRotateFileTransportInstance } from 'winston';
let DailyRotateFile: DailyRotateFileTransportInstance;
export = DailyRotateFile;
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:15 (11 by maintainers)
Top Results From Across the Web
The Various Types of Definitions - UCF Mapper
There are specific types of definition forms we'll cover in a minute. But first we need to start with the most used forms...
Read more >Identifying Types of Definitions - The NROC Project
All definitions attempt to explain or clarify a term. This lesson will introduce you to the three different types of definitions: formal, informal,...
Read more >Definition Types — Larry Fike
Here are just four among the many types of definitions: (1) Definition by synonym; (2) Ostensive definitions; (3) Stipulative definitions, and. (4) Analytical...
Read more >Types of Definitions Used in Technical Writing - Study.com
There are three types of definitions commonly used in technical writing: Parenthetical definitions, which are words that quickly explain a term ...
Read more >Kinds and Types of Definitions - A Research Guide for Students
Wikipedia defines definition as “the meaning of a word, phrase or other term” Definitions can be categorized into to specific classifications: Intensional ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@samueltlg , I do it like this:
Thank you @Slessi. Merged #163 and published to npm as
winston-daily-rotate-file@3.3.0
.