[babel-plugin] TypeScript types are wrong
Open
bug
good first issue
help wanted
- Dominant language
- JavaScript
- Stars
- 10.3k
- Forks
- 481
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 13
Description
### Describe the issue
The resolved types use `export default` where the JavaScript file appears to use `module.exports =`. This will cause TypeScript under the `node16` module mode to think an extra `.default` property access is required, but that will likely fail at runtime.
### Expected behavior
These types should use `export =` instead of `export default`.
### Steps to reproduce
See https://arethetypeswrong.github.io/?p=%40stylexjs%2Fbabel-plugin%400.10.1
### Test case
_No response_
### Additional comments
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.