mirror of https://github.com/vector-im/riot-web
Appease the linter
parent
da32d9decd
commit
8ff8a8ad40
|
@ -29,7 +29,10 @@ import { Capability, Widget } from "matrix-widget-api";
|
||||||
* @returns {Set<Capability>} Resolves to the capabilities that are approved for use
|
* @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.
|
* 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
|
return new Set(); // no additional capabilities approved
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue