Skip to content
Myr

feat(jsx): allow to merge CSSProperties declaration (#3228)

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

* feat(jsx): allow to merge CSSProperties declaration * fix the format

authored by jonas · committed by GitHub · parent c3679b8 · Browse files · 1 file+4 added−2 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+4 added−2 removed

  • other:+4 added−2 removed

1 file+4 added−2 removed

modified:src/jsx/intrinsic-elements.ts+4 added-2 removed
8 unmodified lines
910// eslint-disable-next-line @typescript-eslint/no-namespace11export namespace JSX {12 export type CrossOrigin = 'anonymous' | 'use-credentials' | '' | undefined13 export type CSSProperties = {}13 export interface CSSProperties {14 [propertyKey: string]: unknown15 }16 type AnyAttributes = { [attributeName: string]: any }1718 interface JSXAttributes {19 dangerouslySetInnerHTML?: {
160 unmodified lines
180 placeholder?: string | undefined181 popover?: string | undefined182 slot?: string | undefined183 spellcheck?: boolean | undefined182 style?: CSSProperties | undefined184 style?: CSSProperties | string | undefined185 tabindex?: number | undefined186 title?: string | undefined187 translate?: 'yes' | 'no' | undefined188 itemProp?: string | undefined
600 unmodified lines