Make SonarCloud happier (#23699)

This commit is contained in:
Michael Telatynski 2022-11-04 15:30:25 +00:00 committed by GitHub
parent 77d75984fa
commit 577a6b7c5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -102,7 +102,7 @@ const setupCompleted = (async () => {
const handleAction = (
action: WidgetApiAction,
handler: (request: IWidgetApiRequestData) => void,
handler: (request: IWidgetApiRequestData) => Promise<void>,
): void => {
widgetApi.on(`action:${action}`, async (ev: CustomEvent<IWidgetApiRequest>) => {
ev.preventDefault();