You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`[vite:dts] Internal Error: Unable to determine semantic information for declaration:
/Users/beam/Desktop/Person/react-blogs/src/components/Title/index.tsx:16:9
You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
✓ built in 3.78s
error during build:
Error: Internal Error: Unable to determine semantic information for declaration:`
When using dts({ rollupTypes: true }) the plugin does not work when destructuring.
For example,
This throws a bug:
const hi = { hello: 'hi' };
const { hello } = hi;
this throws a bug:
const [test, setTest] = useState();
Etc.
full error:
From some basic research it seems to be an error with Api-Extractor and you may need to downgrade?
Go to any components folder in /src and put one of those examples above in the code, then simply running yarn build or yarn build --watch will throw an error.
Describe the bug
`[vite:dts] Internal Error: Unable to determine semantic information for declaration:
/Users/beam/Desktop/Person/react-blogs/src/components/Title/index.tsx:16:9
You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
✓ built in 3.78s
error during build:
Error: Internal Error: Unable to determine semantic information for declaration:`
When using
dts({ rollupTypes: true })
the plugin does not work when destructuring.For example,
This throws a bug:
this throws a bug:
Etc.
full error:
From some basic research it seems to be an error with Api-Extractor and you may need to downgrade?
Reproduction
https://github.com/norvalbv/react-blogs
Steps to reproduce
Go to any components folder in
/src
and put one of those examples above in the code, then simply running yarn build or yarn build --watch will throw an error.System Info
Validations
The text was updated successfully, but these errors were encountered: