We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
later than this version user-agents@1.0.1434 i get this error "TypeError: UserAgent is not a constructor" i dont know what it causes
import UserAgent from 'user-agents'; const userAgent = new UserAgent(); console.log(userAgent.toString()) console.log(userAgent.data)
The text was updated successfully, but these errors were encountered:
Solution You also need to enable "esModuleInterop": true in tsconfig.json
"esModuleInterop": true
tsconfig.json
Sorry, something went wrong.
No branches or pull requests
later than this version user-agents@1.0.1434 i get this error "TypeError: UserAgent is not a constructor" i dont know what it causes
The text was updated successfully, but these errors were encountered: