Enable @typescript-eslint/explicit-member-accessibility
on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src * Prettier
This commit is contained in:
parent
51554399fb
commit
f1e8e7f140
396 changed files with 1110 additions and 1098 deletions
|
@ -33,7 +33,7 @@ export class MatrixDispatcher extends Dispatcher<ActionPayload> {
|
|||
* an operation that the browser requires user interaction
|
||||
* for. Default false (async).
|
||||
*/
|
||||
dispatch<T extends ActionPayload>(payload: T, sync = false) {
|
||||
public dispatch<T extends ActionPayload>(payload: T, sync = false) {
|
||||
if (payload instanceof AsyncActionPayload) {
|
||||
payload.fn((action: ActionPayload) => {
|
||||
this.dispatch(action, sync);
|
||||
|
@ -60,7 +60,7 @@ export class MatrixDispatcher extends Dispatcher<ActionPayload> {
|
|||
* @param {boolean=false} sync Whether the dispatch should be sync or not.
|
||||
* @see dispatch(action: ActionPayload, sync: boolean)
|
||||
*/
|
||||
fire(action: Action, sync = false) {
|
||||
public fire(action: Action, sync = false) {
|
||||
this.dispatch({ action }, sync);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue