Appease the linter

pull/21833/head
Travis Ralston 2020-11-23 12:06:05 -07:00
parent da32d9decd
commit 8ff8a8ad40
1 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,10 @@ import { Capability, Widget } from "matrix-widget-api";
* @returns {Set<Capability>} Resolves to the capabilities that are approved for use
* by the widget. If none are approved, this should return an empty Set.
*/
async function preapproveCapabilities(widget: Widget, requestedCapabilities: Set<Capability>): Promise<Set<Capability>> {
async function preapproveCapabilities(
widget: Widget,
requestedCapabilities: Set<Capability>,
): Promise<Set<Capability>> {
return new Set(); // no additional capabilities approved
}