From 1970786bcc8e4bbc00905863036fa44e00ba0b18 Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Wed, 18 Jan 2023 14:20:41 +0800 Subject: [PATCH] docs: updated typescript usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 948f577..8621b63 100644 --- a/README.md +++ b/README.md @@ -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" } },