Skip to content

Commit 9fc1857

Browse files
committed
fix: destructure import of EventEmitter to support TS projects
1 parent 4cb3e6d commit 9fc1857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LambdaLog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import EventEmitter from 'events';
1+
import { EventEmitter } from 'events';
22
import { LambdaLogOptions, Message, GenericRecord, LogLevels, LogObject, Tag, ConsoleObject } from './typings.js';
33
import LogMessage from './LogMessage.js';
44
import { toBool } from './utils.js';

0 commit comments

Comments
 (0)