Skip to content

create index.d.ts to support typescript#3

Open
mrpanupat wants to merge 1 commit intocaptcha-com:masterfrom
mrpanupat:develop
Open

create index.d.ts to support typescript#3
mrpanupat wants to merge 1 commit intocaptcha-com:masterfrom
mrpanupat:develop

Conversation

@mrpanupat
Copy link

I need to use reactjs-captcha with React Typescript but there is no declaration file
so I create type declaration for "Captcha" and "captchaSettings".

P.S. Currently I cannot find return type of method "getInstance" in Captcha component
so I assign it return type to "any".

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 this pull request may close these issues.

1 participant