pull/15045/head
Rich Harris 8 months ago
parent bec570891a
commit afab15097c

@ -859,6 +859,9 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
// allow any data- attribute // allow any data- attribute
[key: `data-${string}`]: any; [key: `data-${string}`]: any;
// allow any attachment
[key: symbol]: (node: T) => void | (() => void);
} }
export type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | (string & {}); export type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | (string & {});

Loading…
Cancel
Save