@viewfly/core 1.0.0 → 1.0.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.
@@ -230,12 +230,14 @@ declare namespace JSX {
230
230
  type ElementType = keyof IntrinsicElements | ComponentSetup;
231
231
  interface Element extends ViewFlyNode {
232
232
  }
233
- interface IntrinsicAttributes {
233
+ interface KeyedAttributes {
234
234
  key?: Key;
235
+ }
236
+ interface IntrinsicAttributes extends KeyedAttributes {
235
237
  ref?: any;
236
238
  [key: string]: any;
237
239
  }
238
- interface RefAttributes<T> {
240
+ interface RefAttributes<T> extends KeyedAttributes {
239
241
  ref?: DynamicRef<ExtractInstanceType<T>> | DynamicRef<ExtractInstanceType<T>>[];
240
242
  }
241
243
  interface ElementClass<P = any> extends ComponentInstance<P> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
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",
@@ -50,7 +50,7 @@
50
50
  "bugs": {
51
51
  "url": "https://github.com/viewfly/viewfly.git/issues"
52
52
  },
53
- "gitHead": "06e8514f95609d0269246f4852ff6f93b76932c2",
53
+ "gitHead": "cd1ecadfe947e44eeff2966f13b03471ab6c8790",
54
54
  "dependencies": {
55
55
  "reflect-metadata": "^0.2.2"
56
56
  }