Skip to content

Commit 0f7424c

Browse files
sonicoder86ngabor84
andcommitted
fix(interface): make configure need only part of config
EME-5173 Co-authored-by: Gabor Nemeth <[email protected]>
1 parent c32cbd3 commit 0f7424c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function createLogger(namespace: string): Logger {
1313
createLogger.getNamespaces = function(): string {
1414
return process.env.DEBUG || '';
1515
};
16-
createLogger.configure = function(options: LoggerConfig): void {
16+
createLogger.configure = function(options: Partial<LoggerConfig>): void {
1717
Logger.configure(options);
1818
};
1919
createLogger.formatter = formatter;

0 commit comments

Comments
 (0)