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

This package could use some typescript definitions #34

Open
HSchmale16 opened this issue May 6, 2019 · 0 comments
Open

This package could use some typescript definitions #34

HSchmale16 opened this issue May 6, 2019 · 0 comments

Comments

@HSchmale16
Copy link

I'm using this package in typescript project so I created some typescript definitions. I'm not quite sure how they all fit together, but this is what I added to my project to get typescript to compile it and work.

/// <reference types="jquery" />

interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
    highlightWithinTextarea(arg0: { highlight: { highlight: () => RegExp; className: string; }[]; });
    highlightWithinTextarea(arg0: string);
}
```
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

1 participant