Skip to content
Myr

feat(jsx): add global attributes to interface definition (#3142)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by yasuaki640 · committed by GitHub · parent 024ec0f · Browse files · 1 file+20 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+20 added−1 removed

  • other:+20 added−1 removed

1 file+20 added−1 removed

modified:src/jsx/intrinsic-elements.ts+20 added-1 removed
144 unmodified lines
145 }146147 export interface HTMLAttributes extends JSXAttributes, EventAttributes, AnyAttributes {148 accesskey?: string | undefined149 autocapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined150 autofocus?: boolean | undefined151 class?: string | Promise<string> | undefined152 contenteditable?: boolean | 'inherit' | undefined153 contextmenu?: string | undefined154 dir?: string | undefined155 draggable?: boolean | undefined156 enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined157 hidden?: boolean | undefined158 id?: string | undefined159 inert?: boolean | undefined160 inputmode?:161 | 'none'162 | 'text'163 | 'tel'164 | 'url'165 | 'email'166 | 'numeric'167 | 'decimal'168 | 'search'169 | undefined170 is?: string | undefined171 itemid?: string | undefined172 itemprop?: string | undefined173 itemref?: string | undefined174 itemscope?: boolean | undefined175 itemtype?: string | undefined176 lang?: string | undefined177 nonce?: string | undefined178 placeholder?: string | undefined179 popover?: string | undefined180 slot?: string | undefined181 spellcheck?: boolean | undefined182 style?: CSSProperties | undefined183 tabindex?: number | undefined
189 unmodified lines
373 autocomplete?: string | undefined374 capture?: boolean | 'user' | 'environment' | undefined // https://www.w3.org/TR/html-media-capture/#the-capture-attribute375 checked?: boolean | undefined376 disabled?: boolean | undefined357 enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined377 form?: string | undefined378 formenctype?: string | undefined379 formmethod?: string | undefined380 formnovalidate?: boolean | undefined
406 unmodified lines