Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Winston can only be default-imported with the esModuleInterop flag enabled: ``` logger.ts:1:8 - error TS1259: Module '"C:/Users/PC/projs/bot/node_modules/winston/index"' can only be default-imported using the 'esModuleInterop' flag 1 import winston from 'winston'; ~~~~~~~ node_modules/winston/index.d.ts:213:1 213 export = winston; ~~~~~~~~~~~~~~~~~ This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag. ```
- Loading branch information