diff --git a/api/@ohos.bytrace.d.ts b/api/@ohos.bytrace.d.ts index e1b5a1ccad9e88567a91a9438207dc6e36b2620f..b2ee906edc823f2dd8d229ec3af0714dd7327fad 100644 --- a/api/@ohos.bytrace.d.ts +++ b/api/@ohos.bytrace.d.ts @@ -65,8 +65,8 @@ declare namespace bytrace { * @deprecated * @since 7 * @syscap SystemCapability.HiviewDFX.HiTrace - * @param name Indicates the task name. It must be the same whith the {@code name} of startTrace. - * @param taskId The unique id used to distinguish the tasks and must be the same whith the . + * @param name Indicates the task name. It must be the same with the {@code name} of startTrace. + * @param taskId The unique id used to distinguish the tasks and must be the same with the . * {@code taskId} of startTrace. */ function finishTrace(name: string, taskId: number): void; diff --git a/api/@ohos.hiTraceMeter.d.ts b/api/@ohos.hiTraceMeter.d.ts index d9034b7c5b45d06dd98333fa7816a3f241f22421..7884496483c7195e2c3096d69615fcff3b75548d 100644 --- a/api/@ohos.hiTraceMeter.d.ts +++ b/api/@ohos.hiTraceMeter.d.ts @@ -61,8 +61,8 @@ declare namespace hiTraceMeter { * * @since 8 * @syscap SystemCapability.HiviewDFX.HiTrace - * @param name Indicates the task name. It must be the same whith the {@code name} of startTrace. - * @param taskId The unique id used to distinguish the tasks and must be the same whith the . + * @param name Indicates the task name. It must be the same with the {@code name} of startTrace. + * @param taskId The unique id used to distinguish the tasks and must be the same with the . * {@code taskId} of startTrace. */ function finishTrace(name: string, taskId: number): void;