diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/request.js')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/request.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/request.js b/server/sonar-web/src/main/js/helpers/request.js index b58d1dda053..0a21213ffdf 100644 --- a/server/sonar-web/src/main/js/helpers/request.js +++ b/server/sonar-web/src/main/js/helpers/request.js @@ -228,6 +228,6 @@ export function requestDelete (url: string, data?: Object): Promise<Object> { * @param response * @returns {Promise} */ -export function delay (response: any): Promise<any> { +export function delay (response: *): Promise<*> { return new Promise(resolve => setTimeout(() => resolve(response), 1200)); } |