diff --git a/en/application-dev/reference/apis/js-apis-data-preferences.md b/en/application-dev/reference/apis/js-apis-data-preferences.md index bc3d5fdfcf4b058a8f5f56b53213338d0da0fada..31d9f3831681723461ec95cbcae475230187c346 100644 --- a/en/application-dev/reference/apis/js-apis-data-preferences.md +++ b/en/application-dev/reference/apis/js-apis-data-preferences.md @@ -187,7 +187,7 @@ removePreferencesFromCache(context: Context, name: string): Promise<void> Removes the singleton **Preferences** instance of a file from the cache. The removed instance cannot be used for data operations. Otherwise, data inconsistency will occur. -This method uses an asynchronous callback to return the result. +This method uses a promise to return the result. **System capability**: SystemCapability.DistributedDataManager.Preferences.Core