-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
TypeScript example #102
Comments
What type of examples do you think could be useful? |
I think a simple one of this project in client-side mode would be useful. Basically just any kind of small example utilizing this hook in TypeScript would be useful (kind of using this as a way to ensure that this project's |
fyi, I'm currently working on adding a TypeScript shopping cart implementation here: https://github.com/vercel/next.js/tree/canary/examples/with-stripe-typescript |
I’m working on it here: https://github.com/thorsten-stripe/next.js/tree/thor/stripe/add-use-shopping-cart-example/examples/with-stripe-typescript And some type fixes here: #123 |
This has been shipped: https://github.com/vercel/next.js/tree/canary/examples/with-stripe-typescript Should we include it in the docs/README somewhere? |
It seems that there were some movements in 3.0.0
does not work as it seems to be under Any suggestions? EDIT: To clarify, it does work with the code above but there is some typescript complaint about missing types (TS7016) |
In need of an example of using this package built with TypeScript to be able to ensure that future versions stay TypeScript compatible.
Preferably to be hosted in this monorepo, however, could also be a link to CodeSandbox or Glitch.
The text was updated successfully, but these errors were encountered: