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.
I would like to use the
closed
prop in my TypeScript application but it is not compiling because it is missing in theindex.d.ts
type declarations file, throwing this error: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
ofreact-stripe-checkout
.