Open
Description
Current Behavior
input: "test"
output: "undefined"
input: "[email protected]"
output: undefined
input "test@gmai"
output: undefined
input "test@gmail"
output: {... [email protected]}
Is this behaviour intended?
Expected Behavior
input: "test"
output: false
input: "[email protected]"
output: true
input "test@gmai"
output: false
input "test@gmail"
output: {... [email protected]}
Steps to Reproduce the Problem
const suggestion = emailSpellChecker.run({
email
})
Environment
- Version: 1.12
- Platform: Mac
- Node.js Version: 20