wtsk-comps 1.1.6 → 1.1.7

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/index.d.ts +13 -22
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,34 +1,25 @@
1
1
  // Type definitions for wtsk-comps - WebStorm compatible
2
2
  declare module 'wtsk-comps' {
3
3
  import { Component } from 'vue'
4
-
5
- export const WtskBtn: Component
6
- export const WtskForm: Component
7
- export const WtskTable: Component
8
- export const WtskTree: Component
9
-
4
+
5
+ const WtskBtn: Component
6
+ const WtskForm: Component
7
+ const WtskTable: Component
8
+ const WtskTree: Component
9
+
10
+ export { WtskBtn, WtskForm, WtskTable, WtskTree }
11
+
10
12
  const WtskBasic: {
11
13
  install: (app: any) => void
12
14
  }
13
-
15
+
14
16
  export default WtskBasic
15
17
  }
16
18
 
17
19
  // WebStorm specific declarations
18
20
  declare global {
19
- // Global component types for WebStorm
20
- const WtskBtn: typeof import('wtsk-comps')['WtskBtn']
21
- const WtskForm: typeof import('wtsk-comps')['WtskForm']
22
- const WtskTable: typeof import('wtsk-comps')['WtskTable']
23
- const WtskTree: typeof import('wtsk-comps')['WtskTree']
24
- }
25
-
26
- // Vue module augmentation for better IDE support
27
- declare module 'vue' {
28
- export interface GlobalComponents {
29
- WtskBtn: typeof import('wtsk-comps')['WtskBtn']
30
- WtskForm: typeof import('wtsk-comps')['WtskForm']
31
- WtskTable: typeof import('wtsk-comps')['WtskTable']
32
- WtskTree: typeof import('wtsk-comps')['WtskTree']
33
- }
21
+ const WtskBtn: any
22
+ const WtskForm: any
23
+ const WtskTable: any
24
+ const WtskTree: any
34
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wtsk-comps",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "Vue3+Element Plus基础组件库(wtsk-btn/form/table/tree)",
5
5
  "author": "lujh",
6
6
  "license": "MIT",