diff --git a/lib/lib.dom.d.ts b/lib/lib.dom.d.ts index 753f7673d8924..af112aa8d2ae5 100644 --- a/lib/lib.dom.d.ts +++ b/lib/lib.dom.d.ts @@ -7081,7 +7081,7 @@ interface HTMLInputElement extends HTMLElement { /** Sets or retrieves a text alternative to the graphic. */ alt: string; /** Specifies whether autocomplete is applied to an editable text field. */ - autocomplete: string; + autocomplete: AutoComplete; capture: string; /** Sets or retrieves the state of the check box or radio button. */ checked: boolean; @@ -18359,6 +18359,7 @@ type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "closed" | "running" | "suspended"; type AuthenticatorAttachment = "cross-platform" | "platform"; type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb"; +type AutoComplete = 'off' | 'on' | 'name' | 'honorific-prefix' | 'given-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'email' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-currency' | 'transaction-amount' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension' | 'impp' | 'url' | 'photo' | (string & {}); type AutoKeyword = "auto"; type AutomationRate = "a-rate" | "k-rate"; type BinaryType = "arraybuffer" | "blob";