init commit
This commit is contained in:
6
types/index.d.ts
vendored
6
types/index.d.ts
vendored
@@ -2,6 +2,10 @@
|
||||
* 扫码初始化选项
|
||||
*/
|
||||
interface ScanConfigOptions {
|
||||
/**
|
||||
* 扫码重启延迟,单位:毫秒,默认500ms
|
||||
*/
|
||||
scanRestartDelay?: number,
|
||||
/**
|
||||
* 桥接是否启用,默认启用
|
||||
*/
|
||||
@@ -138,7 +142,7 @@ interface ScanListenerInfo {
|
||||
/**
|
||||
* 监听状态
|
||||
*/
|
||||
type ScanStatus = "scanning" | "closed";
|
||||
type ScanStatus = "scanning" | "ready";
|
||||
|
||||
/**
|
||||
* 监听结果回调
|
||||
|
||||
Reference in New Issue
Block a user