Skip to content

Commit

Permalink
Merge pull request #52 from souhub/patch-1
Browse files Browse the repository at this point in the history
docs: typo fix in ch04.1
  • Loading branch information
ishtms authored Aug 26, 2024
2 parents a556acf + 6e95819 commit 7e5bdda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapters/ch04.1-refactoring-the-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Logger {
}

/**
* @param {LogLevel} log_level
* @param {LogConfig} log_config
*/
constructor(log_config) {
log_config = log_config || LogConfig.with_defaults();
Expand Down
2 changes: 1 addition & 1 deletion code/chapter_04.1/lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Logger {
}

/**
* @param {LogLevel} log_level
* @param {LogConfig} log_config
*/
constructor(log_config) {
log_config = log_config || LogConfig.with_defaults();
Expand Down

0 comments on commit 7e5bdda

Please sign in to comment.