Skip to content

Commit

Permalink
Merge pull request #1361 from log4js-node/update-docs
Browse files Browse the repository at this point in the history
docs: updated typescript usage
  • Loading branch information
lamweili committed Jan 18, 2023
2 parents 0696f63 + 1970786 commit cfab25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ There's also [an example application](https://github.com/log4js-node/log4js-exam
## TypeScript

```ts
import log4js from "log4js";
import * as log4js from "log4js";
log4js.configure({
appenders: { cheese: { type: "file", filename: "cheese.log" } },
categories: { default: { appenders: ["cheese"], level: "error" } },
Expand Down

0 comments on commit cfab25c

Please sign in to comment.