Skip to content
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

Error: A sibling of kind 357 was expected. #3

Open
MartinMasek opened this issue Apr 12, 2024 · 5 comments
Open

Error: A sibling of kind 357 was expected. #3

MartinMasek opened this issue Apr 12, 2024 · 5 comments

Comments

@MartinMasek
Copy link

Hi, I tried to use the tool in hope of improving the type completion.
However, when I run it on our project I get the following error and I don't know how to really debug it.

Error: A sibling of kind 357 was expected.

@davityavryan
Copy link

I had this issue, then I narrowed down the files that are in include of the tsconfig to Router related only, solved my issue.

@john-trashlab
Copy link

@davityavryan what did you change specifically?

@davityavryan
Copy link

@davityavryan what did you change specifically?

Instead of using the default tsconfig I used a new one which only include router related files

@john-trashlab
Copy link

@davityavryan can you share a diff if possible?

@anjaneyasivan
Copy link

whenever i name any variables as context inside input , this happens. ie:

z.object({
  context:z.string()
})

This gives 357

z.object({
  ctx:z.string()
})

This works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants