1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-10 07:22:27 +03:00

fix: typos

Signed-off-by: Jack Works <jackworks@protonmail.com>
This commit is contained in:
Jack Works
2020-01-22 10:54:46 +08:00
committed by Travis Ralston
parent 0bf1f48623
commit 7c79e7e836
5 changed files with 8 additions and 8 deletions

View File

@@ -751,7 +751,7 @@ MatrixClient.prototype.downloadKeys = function(userIds, forceDownload) {
*
* @param {string} userId the user to list keys for.
*
* @return {Promise<module:crypto-deviceinfo[]>} list of devices
* @return {Promise<module:crypto/deviceinfo[]>} list of devices
*/
MatrixClient.prototype.getStoredDevicesForUser = async function(userId) {
if (this._crypto === null) {
@@ -766,7 +766,7 @@ MatrixClient.prototype.getStoredDevicesForUser = async function(userId) {
* @param {string} userId the user to list keys for.
* @param {string} deviceId unique identifier for the device
*
* @return {Promise<?module:crypto-deviceinfo>} device or null
* @return {Promise<?module:crypto/deviceinfo>} device or null
*/
MatrixClient.prototype.getStoredDevice = async function(userId, deviceId) {
if (this._crypto === null) {