mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
22 lines
568 B
TypeScript
22 lines
568 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;
|
|
}
|