未验证 提交 559497d3 编写于 作者: O openharmony_ci 提交者: Gitee

!14155 翻译完成:13133 Sync worker document change (cherry-pick 到beta5)

Merge pull request !14155 from wusongqing/cherry-pick-1675220197
......@@ -26,7 +26,7 @@ The following table lists the USB APIs currently available. For details, see the
| releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number | Releases a USB interface. |
| getFileDescriptor(pipe: USBDevicePipe): number | Obtains the file descriptor. |
| getRawDescriptor(pipe: USBDevicePipe): Uint8Array | Obtains the raw USB descriptor. |
| controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout ?: number): Promise\<number> | Performs control transfer. |
| controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout ?: number): Promise\<number> | Performs control transfer. |
## How to Develop
......
......@@ -107,7 +107,7 @@ In the FA model:
"buildOption": {
"sourceOption": {
"workers": [
"./src/main/ets/entryability/workers/worker.ts"
"./src/main/ets/MainAbility/workers/worker.ts"
]
}
}
......@@ -1192,7 +1192,7 @@ In the FA model:
"buildOption": {
"sourceOption": {
"workers": [
"./src/main/ets/entryability/workers/worker.ts"
"./src/main/ets/MainAbility/workers/worker.ts"
]
}
}
......@@ -2114,7 +2114,7 @@ Configuration of the **build-profile.json5** file:
"buildOption": {
"sourceOption": {
"workers": [
"./src/main/ets/entryability/workers/worker.ts"
"./src/main/ets/MainAbility/workers/worker.ts"
]
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册