@bettergi/types 0.1.4 → 0.1.5

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.
@@ -238,6 +238,24 @@ declare global {
238
238
  * @since 0.43.5
239
239
  */
240
240
  function relogin(): Promise<void>;
241
+
242
+ /**
243
+ * 调整时间
244
+ * @param hour 目标小时(0-24)s
245
+ * @param minute 目标分钟(0-59)
246
+ * @param skip 是否跳过动画(默认值:false)
247
+ * @since 0.54.0
248
+ */
249
+ function setTime(hour: number, minute: number, skip?: boolean): Promise<void>;
250
+
251
+ /**
252
+ * 调整时间
253
+ * @param hour 目标小时(0-24)s
254
+ * @param minute 目标分钟(0-59)
255
+ * @param skip 是否跳过动画(默认值:false)
256
+ * @since 0.54.0
257
+ */
258
+ function setTime(hour: string, minute: string, skip?: boolean): Promise<void>;
241
259
  }
242
260
  }
243
261
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bettergi/types",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "BetterGI TypeScript 类型定义",
5
5
  "type": "module",
6
6
  "author": "Bread Grocery<https://github.com/breadgrocery>",