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

Typescript @type #1

Open
kinetiq opened this issue Oct 8, 2019 · 1 comment
Open

Typescript @type #1

kinetiq opened this issue Oct 8, 2019 · 1 comment

Comments

@kinetiq
Copy link

kinetiq commented Oct 8, 2019

This was very useful. Here's a type definition I created, not sure what the best way to contribute this would be:

declare namespace MicrosoftJQueryUnobtrusiveValidation {
interface Validator {
parseDynamicContent: (selector: any) => void;
unparseContent: (selector: any) => void;
syncValidators: (selector: any) => void;
}
}

... For this to work, you would need to correct the spelling on syncValidators which has a typo in your version.

Great work and thanks a lot!

@senzacionale
Copy link
Owner

Hello.

Thank you. You can create PR if you want.

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

No branches or pull requests

2 participants