@viewfly/core 1.0.0-alpha.4 → 1.0.0-alpha.5

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.
@@ -4,14 +4,14 @@ export interface Props {
4
4
  }
5
5
  export declare function Fragment(props: Props): () => any;
6
6
  export type Key = number | string;
7
- export declare function jsx(type: string | JSXInternal.ComponentSetup, props: Props, key?: Key): JSXNode;
7
+ export declare function jsx(type: string | JSXInternal.ComponentSetup, props: Props & Record<string, any>, key?: Key): JSXNode;
8
8
  export declare const jsxs: typeof jsx;
9
9
  export interface JSXNode<T = string | JSXInternal.ComponentSetup> {
10
10
  type: T;
11
- props: Props;
11
+ props: Props & Record<string, any>;
12
12
  key?: Key;
13
13
  on?: Record<string, ListenDelegate>;
14
14
  }
15
15
  export declare const JSXNodeFactory: {
16
- createNode<T = string | JSXInternal.ComponentSetup<any>>(type: T, props: Props, key?: Key): JSXNode<T>;
16
+ createNode<T = string | JSXInternal.ComponentSetup<any>>(type: T, props: Props & Record<string, any>, key?: Key): JSXNode<T>;
17
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/core",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.0-alpha.5",
4
4
  "description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -47,7 +47,7 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/viewfly/viewfly.git/issues"
49
49
  },
50
- "gitHead": "176e9fdb7415d029541a1da102001d9bab6c3319",
50
+ "gitHead": "08440a64a07df71eb5d65467a4ad371a35e1f896",
51
51
  "dependencies": {
52
52
  "reflect-metadata": "^0.1.13"
53
53
  }