diff options
author | 2023-05-04 17:52:33 +0800 | |
---|---|---|
committer | 2023-05-04 09:52:33 +0000 | |
commit | 0f0d7435a649466084fab40bb7fe0481b0c73dba (patch) | |
tree | 8f78f48062c8d2599a6850c3c74b18957108f44b /source/helpers/types.d.ts | |
parent | b3e7358daa453481574a796bd8b3c2238701a2bc (diff) | |
download | refined-github-0f0d7435a649466084fab40bb7fe0481b0c73dba.tar.gz refined-github-0f0d7435a649466084fab40bb7fe0481b0c73dba.tar.zst refined-github-0f0d7435a649466084fab40bb7fe0481b0c73dba.zip |
Meta: Include information about storage in options (#6595)
Diffstat (limited to 'source/helpers/types.d.ts')
-rw-r--r-- | source/helpers/types.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/helpers/types.d.ts b/source/helpers/types.d.ts index 06f4cb80..e3224b49 100644 --- a/source/helpers/types.d.ts +++ b/source/helpers/types.d.ts @@ -15,4 +15,9 @@ declare global { closest<S extends string>(selector: S | readonly S[]): StrictlyParseSelector<S, HTMLElement> | null; matches(selectors: string | readonly string[]): boolean; } + + // This cannot be a regular import because it turns `globals.d.ts` in a "module definition", which it isn't + type Browser = import('webextension-polyfill').Browser; + const browser: Browser; + } |