diff options
author | marv <rotrobmin@gmail.com> | 2024-07-03 03:00:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 10:00:07 +0000 |
commit | 066ca66fc4033da39d0aecd73b0f5c200cb3f3ed (patch) | |
tree | 64d00048c4dd0b422141a72b9c6b1310f59fc496 /types | |
parent | c1f0343feeb8b8a8feaa942022150f971e118659 (diff) |
Add Option for Scanning Alt Text (#1169)
* Add Option for Scanning Alt Text
* Don't scan alt text if option disabled
* Add scanAltText to Options Schema
* Add `scanning.scanAltText` Update Function
* Bump Options Test Version
* Remove Param Annotation
Diffstat (limited to 'types')
-rw-r--r-- | types/ext/settings.d.ts | 1 | ||||
-rw-r--r-- | types/ext/text-scanner.d.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/types/ext/settings.d.ts b/types/ext/settings.d.ts index 559a27c4..b84942b1 100644 --- a/types/ext/settings.d.ts +++ b/types/ext/settings.d.ts @@ -190,6 +190,7 @@ export type ScanningOptions = { hidePopupOnCursorExit: boolean; hidePopupOnCursorExitDelay: number; normalizeCssZoom: boolean; + scanAltText: boolean; }; export type ScanningInput = { diff --git a/types/ext/text-scanner.d.ts b/types/ext/text-scanner.d.ts index 4277d49a..0af55d72 100644 --- a/types/ext/text-scanner.d.ts +++ b/types/ext/text-scanner.d.ts @@ -41,6 +41,7 @@ export type Options = { preventMiddleMouse?: boolean; matchTypePrefix?: boolean; sentenceParsingOptions?: SentenceParsingOptions; + scanAltText?: boolean; }; export type InputOptionsOuter = { |