Files
DefinitelyTyped/jquery.highlight-bartaz/index.d.ts

21 lines
541 B
TypeScript

// Type definitions for jquery.highlight.js
// Project: https://github.com/bartaz/sandbox.js/blob/master/jquery.highlight.js
// Definitions by: Stefan Profanter <https://github.com/Pro/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///<reference types="jquery" />
interface JQuery {
unhighlight(options?: {
element?: string,
className?: string
}): JQuery;
highlight(words: string | string[], options?: {
element?: string,
className?: string
caseSensitive?: boolean,
wordsOnly?: boolean
}): JQuery;
}