mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
22 lines
567 B
TypeScript
22 lines
567 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
|
|
// TypeScript Version: 2.3
|
|
|
|
|
|
///<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;
|
|
}
|