Skip to content

Commit

Permalink
fix: make the environment immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Sep 14, 2022
1 parent 8c22834 commit 9461a75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/index.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Added in v0.1.0
```ts
export interface LoggerEnv extends ClockEnv {
logger: Logger
readonly logger: Logger
}
```

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface LogEntry {
* @since 0.1.0
*/
export interface LoggerEnv extends ClockEnv {
logger: Logger
readonly logger: Logger
}

// -------------------------------------------------------------------------------------
Expand Down

0 comments on commit 9461a75

Please sign in to comment.