From f497109ecc801660dc23bbad8445b120cd75561e Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 11 Aug 2020 21:37:08 +0900 Subject: Enable @typescript-eslint/no-namespace --- src/@types/browser/index.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/@types/browser/index.d.ts (limited to 'src/@types/browser') 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; +} -- cgit v1.2.3