Skip to content
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

Fixed missing newLanguageDetector export #3

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

bauerbrun0
Copy link
Contributor

This PR addresses the reported issue regarding the missing export of newLanguageDetector. The issue was identified in the examples/detect.ts file, where users were instructed to import newLanguageDetector. However, it was found that the export was missing in the src/index.ts file.

Changes:

  • Added the missing export for newLanguageDetector in src/index.ts.
  • Included a new test in src/index.test.ts to validate the usage of newLanguageDetector().

Additional Changes:

  • Removed an unused import (afterEach) in src/index.test.ts.

@eelkevdbos eelkevdbos merged commit 211ab92 into eelkevdbos:main Feb 8, 2024
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.

2 participants