From b58bc011199d23a205930661293b4774845b0388 Mon Sep 17 00:00:00 2001 From: xuchenghua09 Date: Fri, 17 Jun 2022 10:43:35 +0800 Subject: [PATCH] fixed cdf66ca from https://gitee.com/dy_study/interface_sdk-js/pulls/1964 d.ts Signed-off-by: xuchenghua09 --- api/application/abilityDelegator.d.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/api/application/abilityDelegator.d.ts b/api/application/abilityDelegator.d.ts index 72408dd34b..156c222b32 100644 --- a/api/application/abilityDelegator.d.ts +++ b/api/application/abilityDelegator.d.ts @@ -132,10 +132,19 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @param msg Log information */ - printSync(msg: string): void; print(msg: string, callback: AsyncCallback): void; print(msg: string): Promise; + /** + * Prints log information to the unit testing console. + * The total length of the log information to be printed cannot exceed 1000 characters. + * + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @param msg Log information + */ + printSync(msg: string): void; + /** * Execute the given command in the aa tools side. * -- Gitee