knt-shared 1.0.0

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.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 布尔值切换Hook
3
+ * @param initialValue 初始值
4
+ * @returns [当前值, 切换函数, 设置为true函数, 设置为false函数]
5
+ */
6
+ declare function useToggle(initialValue?: boolean): readonly [import('vue').Ref<boolean, boolean>, () => void, () => void, () => void];
7
+ export default useToggle;
8
+ //# sourceMappingURL=useToggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useToggle.d.ts","sourceRoot":"","sources":["../../src/hooks/useToggle.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,iBAAS,SAAS,CAAC,YAAY,GAAE,OAAe,sFAgB/C;AAED,eAAe,SAAS,CAAC"}