aboutsummaryrefslogtreecommitdiff
path: root/src/@types/browser/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/@types/browser/index.d.ts')
-rw-r--r--src/@types/browser/index.d.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/@types/browser/index.d.ts b/src/@types/browser/index.d.ts
new file mode 100644
index 0000000..14acfe0
--- /dev/null
+++ b/src/@types/browser/index.d.ts
@@ -0,0 +1,13 @@
+// NOTE: window.find is not standard API
+// https://developer.mozilla.org/en-US/docs/Web/API/Window/find
+interface Window {
+ find(
+ aString: string,
+ aCaseSensitive?: boolean,
+ aBackwards?: boolean,
+ aWrapAround?: boolean,
+ aWholeWord?: boolean,
+ aSearchInFrames?: boolean,
+ aShowDialog?: boolean
+ ): boolean;
+}