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

[ts] opened and closed props are missing in TypeScript type declarations #112

Open
mugoosse opened this issue Jun 12, 2018 · 1 comment
Open

Comments

@mugoosse
Copy link

I would like to use the closed prop in my TypeScript application but it is not compiling because it is missing in the index.d.ts type declarations file, throwing this error:

[ts] Property 'closed' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly<{ children?: ReactNode;...'.

I am quite new to TypeScript and do not currently know how to make it work without those props being added to the index.d.ts of react-stripe-checkout.

@nerdmax
Copy link

nerdmax commented Sep 13, 2018

Same issue.

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.

2 participants