Describe the bug
TS2305: Module '"tslog"' has no exported member 'IMeta'.
To Reproduce
Steps to reproduce the behavior:
copy code from documentation:
import { Logger, IMeta } from 'tslog';
const logger = new Logger({
name: 'myLogger',
type: 'pretty',
overwrite: {
formatMeta: (meta?: IMeta) => {
// format LogObj meta object to a string and return it
console.log(meta);
return 'aaa';
},
},
});
logger.info('asdasd');
Expected behavior
no error
Describe the bug
TS2305: Module '"tslog"' has no exported member 'IMeta'.
To Reproduce
Steps to reproduce the behavior:
copy code from documentation:
Expected behavior
no error