Use this instead https://www.npmjs.com/package/@types/logger
npm install -D @types/logger
Type definition for logger
Temporary type definition for logger until this PR got accepted and merged into Definitely repo and published to npm as @types/logger
.
yarn add https://github.com/maxwan/types-logger