Skip to content

Commit 8742a3f

Browse files
Geylnu石石
andauthored
fix: return type (#24)
Co-authored-by: 石石 <[email protected]>
1 parent 584d77b commit 8742a3f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/aliauto/types/index.d.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ declare namespace my.aliauto {
6161
/**
6262
* @summary 打开车辆信息设置
6363
*/
64-
success?();
65-
void;
64+
success?(): void;
6665
}): void;
6766

6867
export function getDrivingBlock(r?: {
@@ -369,15 +368,15 @@ declare namespace my.aliauto {
369368
*/
370369
}): void;
371370
fail?(): void;
372-
});
371+
}): void;
373372

374373
export function reportAnalytics(s: {
375374
/**
376375
* 需要在埋点平台提前配置。(有限支持,配合my.canIUse处理兼容).
377376
*/
378377
eventName: String;
379378
data: Object;
380-
});
379+
}): void;
381380

382381
export function createGeoFencing(s: {
383382
/**

0 commit comments

Comments
 (0)