Skip to content
Myr

fix(types): add key to IntrinsicAttributes (#3474)

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

* add key to IntrinsicAttributes * fix format error

authored by Neko Hz · committed by GitHub · parent c0d782c · Browse files · 1 file+3 added−0 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+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:src/jsx/base.ts+3 added
28 unmodified lines
29 }30 export interface IntrinsicElements extends IntrinsicElementsDefined {31 [tagName: string]: Props32 }33 export interface IntrinsicAttributes {34 key?: string | number | bigint | null | undefined35 }36}3738let nameSpaceContext: Context<string> | undefined = undefined39export const getNameSpaceContext = () => nameSpaceContext
383 unmodified lines