highlight-within-textarea icon indicating copy to clipboard operation
highlight-within-textarea copied to clipboard

This package could use some typescript definitions

Open HSchmale16 opened this issue 5 years ago • 0 comments

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

HSchmale16 avatar May 06 '19 19:05 HSchmale16