Lint new new code

pull/21833/head
Jorik Schellekens 2020-07-20 20:48:27 +01:00
parent c0ce6e8161
commit d86eb5eb9e
4 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,6 @@ enum Preset {
}
interface Invite3PID {
id_server: string;
id_access_token?: string; // this gets injected by the js-sdk
medium: string;

View File

@ -17,7 +17,6 @@ limitations under the License.
import {CARET_NODE_CHAR, isCaretNode} from "./render";
import DocumentOffset from "./offset";
import EditorModel from "./model";
type Predicate = (node: Node) => boolean;
type Callback = (node: Node) => void;

View File

@ -30,7 +30,7 @@ import {Caret} from "./caret";
* @param {object?} diff an object with `removed` and `added` strings
*/
/**
/**
* @callback TransformCallback
* @param {DocumentPosition?} caretPosition the position where the caret should be position
* @param {string?} inputType the inputType of the DOM input event

View File

@ -22,7 +22,7 @@ import {Room} from "matrix-js-sdk/src/models/room";
import AutocompleteWrapperModel, {
GetAutocompleterComponent,
UpdateCallback,
UpdateQuery
UpdateQuery,
} from "./autocomplete";
import * as Avatar from "../Avatar";