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

Investigate tsd implementation #29

Open
garronej opened this issue Jul 19, 2023 · 0 comments
Open

Investigate tsd implementation #29

garronej opened this issue Jul 19, 2023 · 0 comments

Comments

@garronej
Copy link
Owner

Sometime assert<Equals<A,B>> give an error when infact it shoud work.

Like for example here:

https://github.com/codegouvfr/react-dsfr/blob/842f7b820f296553593ac68aff1e72f620f030f8/src/Alert.tsx#L98

We should be able to write assert<Equals<typeof rest, {}>>.

Investigate if https://github.com/SamVerschueren/tsd has better results.

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

1 participant