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

fix(component): correct type when using strict mode #212

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

bbarry
Copy link
Contributor

@bbarry bbarry commented Jan 5, 2021

When an application that depends on ng-recaptcha has tsconfig.json

"strictNullChecks": true

the Parameters<T> utility type fails if the type parameter allows undefined.

Closes #211

When an application that depends on ng-recaptcha has tsconfig.json

    "strictNullChecks": true

the `Parameters<T>` utility type fails if the type parameter allows `undefined`.

Closes DethAriel#211
@DethAriel
Copy link
Owner

DethAriel commented Jan 7, 2021 via email

@DethAriel DethAriel merged commit a687d13 into DethAriel:master Jan 7, 2021
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.

7.0 causes error when used in project with typescript strict null checks
2 participants