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
@testing-library/dom
@testing-library/user-event
typescript
index.ts:
index.ts
import { specialChars } from "@testing-library/user-event"; console.log(specialChars);
What happened:
TS1361: 'specialChars' cannot be used as a value because it was imported using 'import type'.
undefined
Reproduction repository: https://codesandbox.io/s/unruffled-river-ps0i7
Problem description: When I try to import specialChars from @testing-library/user-event, its value is undefined.
specialChars
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 13.0.3 🎉
The release is available on:
npm package (@latest dist-tag)
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
@testing-library/dom
version: 7.30.0@testing-library/user-event
version: 13.0.1typescript
version: 4.2.3index.ts
:What happened:
TS1361: 'specialChars' cannot be used as a value because it was imported using 'import type'.
undefined
Reproduction repository: https://codesandbox.io/s/unruffled-river-ps0i7
Problem description:
When I try to import
specialChars
from@testing-library/user-event
, its value isundefined
.The text was updated successfully, but these errors were encountered: