8000 Update typescript usage in README.md by wbw1537 · Pull Request #1437 · log4js-node/log4js-node · GitHub
[go: up one dir, main page]

Skip to content

Update typescript usage in README.md #1437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

wbw1537
Copy link
@wbw1537 wbw1537 commented Jan 22, 2025

PR to fix #1410
When using import * as log4js from 'log4js'; in TypeScript, a TypeError: log4js.getLogger is not a function"; would be thrown.
import log4js from "log4js"; is the correct usage.

@wbw1537 wbw1537 closed this by deleting the head repository Feb 26, 2025
5ABE Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: log4js.getLogger is not a function
1 participant
0