Update dependency prettier to v3 (#12095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
773b03e15e
commit
a0c8575113
110 changed files with 449 additions and 313 deletions
|
@ -22,7 +22,10 @@ import SettingController from "./SettingController";
|
|||
* When the value changes, call a setter function on the matrix client with the new value
|
||||
*/
|
||||
export default class PushToMatrixClientController extends SettingController {
|
||||
public constructor(private setter: Function, private inverse: boolean) {
|
||||
public constructor(
|
||||
private setter: Function,
|
||||
private inverse: boolean,
|
||||
) {
|
||||
super();
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,10 @@ import SettingsStore from "../SettingsStore";
|
|||
* Settings using this controller are assumed to return `false` when disabled.
|
||||
*/
|
||||
export default class UIFeatureController extends SettingController {
|
||||
public constructor(private uiFeatureName: string, private forcedValue = false) {
|
||||
public constructor(
|
||||
private uiFeatureName: string,
|
||||
private forcedValue = false,
|
||||
) {
|
||||
super();
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,10 @@ export default class DefaultSettingsHandler extends SettingsHandler {
|
|||
* @param {object} defaults The default setting values, keyed by setting name.
|
||||
* @param {object} invertedDefaults The default inverted setting values, keyed by setting name.
|
||||
*/
|
||||
public constructor(private defaults: Record<string, any>, private invertedDefaults: Record<string, any>) {
|
||||
public constructor(
|
||||
private defaults: Record<string, any>,
|
||||
private invertedDefaults: Record<string, any>,
|
||||
) {
|
||||
super();
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,10 @@ export default class DeviceSettingsHandler extends AbstractLocalStorageSettingsH
|
|||
* @param {string[]} featureNames The names of known features.
|
||||
* @param {WatchManager} watchers The watch manager to notify updates to
|
||||
*/
|
||||
public constructor(private featureNames: string[], public readonly watchers: WatchManager) {
|
||||
public constructor(
|
||||
private featureNames: string[],
|
||||
public readonly watchers: WatchManager,
|
||||
) {
|
||||
super();
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,10 @@ export default class LocalEchoWrapper extends SettingsHandler {
|
|||
* @param {SettingsHandler} handler The handler to wrap
|
||||
* @param {SettingLevel} level The level to notify updates at
|
||||
*/
|
||||
public constructor(private readonly handler: SettingsHandler, private readonly level: SettingLevel) {
|
||||
public constructor(
|
||||
private readonly handler: SettingsHandler,
|
||||
private readonly level: SettingLevel,
|
||||
) {
|
||||
super();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue