@cabloy/types-react 19.2.8 → 19.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +8 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -21,6 +21,12 @@ type NativeTransitionEvent = TransitionEvent;
21
21
  type NativeUIEvent = UIEvent;
22
22
  type NativeWheelEvent = WheelEvent;
23
23
 
24
+ interface HTMLActionElement {
25
+ stop?: boolean;
26
+ prevent?: boolean;
27
+ children?: React.ReactNode;
28
+ }
29
+
24
30
  /**
25
31
  * Used to represent DOM API's where users can either pass
26
32
  * true or false as a boolean or as its equivalent strings.
@@ -295,6 +301,7 @@ declare namespace React {
295
301
  * ```
296
302
  */
297
303
  interface ReactElement<P = unknown, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
304
+ (): void;
298
305
  type: T;
299
306
  props: P;
300
307
  key: string | null;
@@ -4060,6 +4067,7 @@ declare namespace React {
4060
4067
  ul: React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>;
4061
4068
  // var: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4062
4069
  var: HTMLVarElement;
4070
+ action: HTMLActionElement;
4063
4071
  video: React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
4064
4072
  wbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
4065
4073
  webview: React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/types-react",
3
- "version": "19.2.8",
3
+ "version": "19.2.9",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",