@vesperjs/vue 0.1.4 → 0.1.6

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/dist/index.d.mts +2 -2
  2. package/package.json +5 -5
package/dist/index.d.mts CHANGED
@@ -137,11 +137,11 @@ declare const useDate: () => {
137
137
  };
138
138
  //#endregion
139
139
  //#region src/composables/use-entity.d.ts
140
- declare const useEntity: <M extends object, R extends object>() => {
140
+ declare const useEntity: <M extends object, R extends object = M>() => {
141
141
  create: ({
142
142
  from
143
143
  }: {
144
- from: R;
144
+ from: R | M;
145
145
  }) => M;
146
146
  copy: ({
147
147
  from,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vesperjs/vue",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "keywords": [
5
5
  "vue.js"
6
6
  ],
@@ -30,14 +30,14 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@eslint/js": "^9.39.4",
33
- "@typescript-eslint/eslint-plugin": "^8.57.0",
34
- "@typescript-eslint/parser": "^8.57.0",
33
+ "@typescript-eslint/eslint-plugin": "^8.57.2",
34
+ "@typescript-eslint/parser": "^8.57.2",
35
35
  "@vue/eslint-config-typescript": "^14.7.0",
36
36
  "eslint": "^9.39.4",
37
37
  "eslint-plugin-vue": "^10.8.0",
38
- "oxfmt": "^0.41.0",
38
+ "oxfmt": "^0.42.0",
39
39
  "tsdown": "^0.21.4",
40
- "typescript": "5.9.3"
40
+ "typescript": "^5.9.3"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsdown --dts",