init commit
This commit is contained in:
4
types/index.d.ts
vendored
4
types/index.d.ts
vendored
@@ -68,7 +68,7 @@ interface ScanConfigOptions {
|
||||
/**
|
||||
* 微信JSSDK配置API地址,调用接口会带上当前页面url作为参数
|
||||
*/
|
||||
apiUrl: string,
|
||||
apiUrl?: string,
|
||||
/**
|
||||
* 微信JSSDK配置参数,不配置则自动获取
|
||||
*/
|
||||
@@ -132,7 +132,7 @@ interface ScanListenerInfo {
|
||||
/**
|
||||
* 监听回调
|
||||
*/
|
||||
listener: ScanCallback;
|
||||
listener: ScanResultCallback;
|
||||
/**
|
||||
* 取消监听
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user