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

"Found an error that tsd does not currently support (ts2739), consider creating an issue on GitHub." #215

Closed
nvie opened this issue Jun 14, 2024 · 1 comment · Fixed by #216

Comments

@nvie
Copy link
Contributor

nvie commented Jun 14, 2024

I hit the following TS issue that TSD does not seem to be able to handle.

  ✖  177:2  Found an error that tsd does not currently support (ts2739), consider creating an issue on GitHub.
  ✖  178:5  Type { children: Element; } is missing the following properties from type { children: ReactNode; foo: Foo | (() => Foo); }: foo

From this input:

expectError(
  <RoomProvider /* missing foo={} */>
    <div />
  </RoomProvider>
);

I'm on the latest version of tsd: 0.31.0.

Thanks for the help in advance!

@nvie
Copy link
Contributor Author

nvie commented Jun 17, 2024

@sindresorhus I've fixed this in #216. Would you be able to merge this and publish a new version? 🙏

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

Successfully merging a pull request may close this issue.

1 participant