@rectify-dev/core 2.1.0 → 2.4.0

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.
@@ -9,6 +9,12 @@ declare namespace JSX {
9
9
  interface ElementChildrenAttribute {
10
10
  children: {};
11
11
  }
12
+ /** Props accepted on every element (host and component) without appearing
13
+ * in the component's own props type. TypeScript strips these before passing
14
+ * props to the component function / constructor. */
15
+ interface IntrinsicAttributes {
16
+ key?: string | number | null;
17
+ }
12
18
  }
13
19
 
14
20
  export { JSX };
@@ -9,6 +9,12 @@ declare namespace JSX {
9
9
  interface ElementChildrenAttribute {
10
10
  children: {};
11
11
  }
12
+ /** Props accepted on every element (host and component) without appearing
13
+ * in the component's own props type. TypeScript strips these before passing
14
+ * props to the component function / constructor. */
15
+ interface IntrinsicAttributes {
16
+ key?: string | number | null;
17
+ }
12
18
  }
13
19
 
14
20
  export { JSX };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rectify-dev/core",
3
- "version": "2.1.0",
3
+ "version": "2.4.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "files": [
@@ -40,11 +40,11 @@
40
40
  "devDependencies": {
41
41
  "tsup": "^8.5.1",
42
42
  "typescript": "^5.9.3",
43
- "@rectify-dev/dom": "1.0.1",
44
- "@rectify-dev/hook": "1.1.0"
43
+ "@rectify-dev/dom": "2.4.0",
44
+ "@rectify-dev/hook": "2.4.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsup",
48
- "dev": "tsup --watch"
48
+ "dev": "tsup --watch --no-clean"
49
49
  }
50
50
  }