mirror of https://github.com/vector-im/riot-web
Lint new new code
parent
c0ce6e8161
commit
d86eb5eb9e
|
@ -45,7 +45,6 @@ enum Preset {
|
|||
}
|
||||
|
||||
interface Invite3PID {
|
||||
|
||||
id_server: string;
|
||||
id_access_token?: string; // this gets injected by the js-sdk
|
||||
medium: string;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue