Make SonarCloud happier (#23699)
This commit is contained in:
parent
77d75984fa
commit
577a6b7c5a
2 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue