Lint new new code
This commit is contained in:
parent
c0ce6e8161
commit
d86eb5eb9e
4 changed files with 2 additions and 4 deletions
|
@ -45,7 +45,6 @@ enum Preset {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Invite3PID {
|
interface Invite3PID {
|
||||||
|
|
||||||
id_server: string;
|
id_server: string;
|
||||||
id_access_token?: string; // this gets injected by the js-sdk
|
id_access_token?: string; // this gets injected by the js-sdk
|
||||||
medium: string;
|
medium: string;
|
||||||
|
|
|
@ -17,7 +17,6 @@ limitations under the License.
|
||||||
|
|
||||||
import {CARET_NODE_CHAR, isCaretNode} from "./render";
|
import {CARET_NODE_CHAR, isCaretNode} from "./render";
|
||||||
import DocumentOffset from "./offset";
|
import DocumentOffset from "./offset";
|
||||||
import EditorModel from "./model";
|
|
||||||
|
|
||||||
type Predicate = (node: Node) => boolean;
|
type Predicate = (node: Node) => boolean;
|
||||||
type Callback = (node: Node) => void;
|
type Callback = (node: Node) => void;
|
||||||
|
|
|
@ -30,7 +30,7 @@ import {Caret} from "./caret";
|
||||||
* @param {object?} diff an object with `removed` and `added` strings
|
* @param {object?} diff an object with `removed` and `added` strings
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @callback TransformCallback
|
* @callback TransformCallback
|
||||||
* @param {DocumentPosition?} caretPosition the position where the caret should be position
|
* @param {DocumentPosition?} caretPosition the position where the caret should be position
|
||||||
* @param {string?} inputType the inputType of the DOM input event
|
* @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, {
|
import AutocompleteWrapperModel, {
|
||||||
GetAutocompleterComponent,
|
GetAutocompleterComponent,
|
||||||
UpdateCallback,
|
UpdateCallback,
|
||||||
UpdateQuery
|
UpdateQuery,
|
||||||
} from "./autocomplete";
|
} from "./autocomplete";
|
||||||
import * as Avatar from "../Avatar";
|
import * as Avatar from "../Avatar";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue