-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Type error when passing an object to apiSpec (TypeScript) #861
Comments
I believe the documenation is lacking as well on this, but I managed to Infer that we need to pass a String as the value to ApiSpec. Don't know if this is the correct way, but it seems to work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When the
apiSpec
property is an object, it shows type errors.To Reproduce
Try to compile the following code with
tsc
(this is a valid spec):I have a repo ready here.
Actual behavior
It shows the following error:
Expected behavior
I was expecting this to work.
Examples and context
The text was updated successfully, but these errors were encountered: