From ce9f921e52d82e7c0a82e90d28f2d4597d12d0ca Mon Sep 17 00:00:00 2001 From: wangyipeng Date: Wed, 28 Dec 2022 14:31:07 +0800 Subject: [PATCH] fix:Modify function declaration Signed-off-by: wangyipeng --- api/@ohos.usbV9.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.usbV9.d.ts b/api/@ohos.usbV9.d.ts index 310be1eebb..a223d0f022 100644 --- a/api/@ohos.usbV9.d.ts +++ b/api/@ohos.usbV9.d.ts @@ -121,7 +121,7 @@ declare namespace usbV9 { * @syscap SystemCapability.USB.USBManager * @since 9 */ - function setCurrentFunctions(funcs: FunctionType): Promise; + function setCurrentFunctions(funcs: FunctionType): Promise; /** * Obtains the numeric mask combination for the current USB function list in Device mode. @@ -167,7 +167,7 @@ declare namespace usbV9 { * @syscap SystemCapability.USB.USBManager * @since 9 */ - function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise; + function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise; /* usb pipe functions begin */ /** -- Gitee