mini-jsx-test-pb 0.0.9 → 0.1.1

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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- export { jsxDEV as h } from './jsx-dev-runtime.js';
2
-
3
1
  declare global {
4
2
  namespace JSX {
5
3
  interface IntrinsicElements {
@@ -19,4 +17,6 @@ declare function State<T>(initial: T): {
19
17
 
20
18
  declare function effect(fn: Effect): void;
21
19
 
22
- export { State, effect };
20
+ declare function h(type: any, props: any, ...rest: any[]): any;
21
+
22
+ export { State, effect, h };
@@ -1,3 +1,3 @@
1
- declare function h(type: any, props: any, ...rest: any[]): any;
1
+ declare function jsxDEV(type: any, props: any): any;
2
2
 
3
- export { h as jsxDEV };
3
+ export { jsxDEV };
@@ -1,6 +1,11 @@
1
1
  import {
2
2
  h
3
3
  } from "./chunk-2FID3L6G.js";
4
+
5
+ // src/jsx-dev-runtime.ts
6
+ function jsxDEV(type, props) {
7
+ return h(type, props);
8
+ }
4
9
  export {
5
- h as jsxDEV
10
+ jsxDEV
6
11
  };
@@ -1 +1,4 @@
1
- export { jsxDEV as jsx, jsxDEV, jsxDEV as jsxs } from './jsx-dev-runtime.js';
1
+ declare function jsx(type: any, props: any): any;
2
+ declare function jsxs(type: any, props: any): any;
3
+
4
+ export { jsx, jsxs };
@@ -1,8 +1,15 @@
1
1
  import {
2
2
  h
3
3
  } from "./chunk-2FID3L6G.js";
4
+
5
+ // src/jsx-runtime.ts
6
+ function jsx(type, props) {
7
+ return h(type, props);
8
+ }
9
+ function jsxs(type, props) {
10
+ return h(type, props);
11
+ }
4
12
  export {
5
- h as jsx,
6
- h as jsxDEV,
7
- h as jsxs
13
+ jsx,
14
+ jsxs
8
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mini-jsx-test-pb",
3
- "version": "0.0.9",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",