1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Gah, onjects

This commit is contained in:
David Baker
2019-01-11 14:09:29 +00:00
parent fe4778b28b
commit 77efa0881e

View File

@@ -44,7 +44,7 @@ export default class AutocompleteProvider {
* @param {string} query The query string
* @param {SelectionRange} selection Selection to search
* @param {boolean} force True if the user is forcing completion
* @return {object} { command, range } where both onjects fields are null if no match
* @return {object} { command, range } where both objects fields are null if no match
*/
getCurrentCommand(query: string, selection: SelectionRange, force: boolean = false) {
let commandRegex = this.commandRegex;