New issue
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
Structure is not well defined, how proper use it with schema-dts #1
Comments
Thanks for the feedback! What TypeScript version are you running?
Hope that helps! |
I have exactly the same issue. The provided syntax - Edit: I found a working fix for this like 10 minutes later. The issue was extremely basic - I was trying to do this in a .js file rather than a .tsx file. Possible that the OP has the same issue. |
I see @mmartinnn , so it seems the gaps here are:
And so some improvement in the documentation might help? |
I think that's precisely accurate! |
Hello, im using
"react": "^16.6.0"
The sample repo code is this one (which have a syntax error):
If i use code like this all works fine
But as you can see in the previous code i haven't used the DTS, how can i use the schema-dts library, i didn't figure it out 😞
i have try the return like:
But got a bunch of console error, some light/improved example would be much appreciated 🙏🏽
Thanks in advance
The text was updated successfully, but these errors were encountered: