@wzyjs/types 0.0.31 → 0.1.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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +2 -2
package/index.ts CHANGED
@@ -31,7 +31,7 @@ export interface Option<V extends string | number = string> {
31
31
  }
32
32
 
33
33
  // 排序参数的类型
34
- export type OrderBy = { [key: string]: 'asc' | 'desc' } | { [key: string]: 'asc' | 'desc' }[]
34
+ export type OrderBy = { [key: string]: 'asc' | 'desc' }
35
35
 
36
36
  // 将指定 key 设为可选
37
37
  export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wzyjs/types",
3
- "version": "0.0.31",
3
+ "version": "0.1.0",
4
4
  "description": "description",
5
5
  "author": "wzy",
6
6
  "license": "ISC",
@@ -12,5 +12,5 @@
12
12
  "type": "git",
13
13
  "url": "https://gitee.com/wang-zhenyu/app.git"
14
14
  },
15
- "gitHead": "eb60e54549c1be64d94b0a4864dacd1f4ed97473"
15
+ "gitHead": "3efe774801f46de9c70693ace99d01eb7fb06da1"
16
16
  }