diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-10 14:55:59 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-11 17:13:08 +0100 |
commit | 37e5050d69b1a6e8be83abc168f4b8a7e2ef3085 (patch) | |
tree | 8ebe491bd7b5959ba352f69be5147a27d6a76fc5 /core/src/services | |
parent | 9fc6cc96346a0a5ef4a997741d9b3b0f9a9aabbe (diff) | |
download | nextcloud-server-37e5050d69b1a6e8be83abc168f4b8a7e2ef3085.tar.gz nextcloud-server-37e5050d69b1a6e8be83abc168f4b8a7e2ef3085.zip |
Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core/src/services')
-rw-r--r-- | core/src/services/UnifiedSearchService.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/services/UnifiedSearchService.js b/core/src/services/UnifiedSearchService.js index dde36899869..32567ba6377 100644 --- a/core/src/services/UnifiedSearchService.js +++ b/core/src/services/UnifiedSearchService.js @@ -35,14 +35,14 @@ export const regexFilterNot = /-in:([a-z_-]+)/ig /** * Create a cancel token * - * @return {CancelTokenSource} + * @return {import('axios').CancelTokenSource} */ const createCancelToken = () => axios.CancelToken.source() /** * Get the list of available search providers * - * @return {Array} + * @return {Promise<Array>} */ export async function getTypes() { try { |