diff --git a/hidebug/interfaces/ets/ani/hidebug/ets/@ohos.hidebug.ets b/hidebug/interfaces/ets/ani/hidebug/ets/@ohos.hidebug.ets index 1653948e5802452e0e84f7fe71e35bd25c520728..77b8fc70229af24e3daf44e733486d1a85171a7e 100644 --- a/hidebug/interfaces/ets/ani/hidebug/ets/@ohos.hidebug.ets +++ b/hidebug/interfaces/ets/ani/hidebug/ets/@ohos.hidebug.ets @@ -179,7 +179,7 @@ export namespace hidebug { export function getGraphicsMemory(): Promise { return new Promise((resolve: (v: int) => void, reject: (e: BusinessError) => void) => { - taskpool.execute(getGraphicsMemorySync).then((ret: NullishType): void => { + taskpool.execute(getGraphicsMemorySync).then((ret: Any): void => { resolve(ret as int); }).catch((err: Object | null | undefined) => { reject(err as BusinessError);