add missing externs to repo

This commit is contained in:
2024-10-13 17:40:46 -05:00
parent b211bc0c4b
commit 2b6830784c
554 changed files with 13165 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
package webextension_polyfill.find;
typedef Static = {
/**
Search for text in document and store found ranges in array, in document order.
**/
function find(queryphrase:String, ?params:FindParamsType):js.lib.Promise<FindResult>;
/**
Highlight a range
**/
function highlightResults(?params:HighlightResultsParamsType):js.lib.Promise<ts.Undefined>;
/**
Remove all highlighting from previous searches.
**/
function removeHighlighting(?tabId:Float):js.lib.Promise<ts.Undefined>;
};