Skip to content

This package could use some typescript definitions #34

Open
@HSchmale16

Description

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);
}
```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions