Correct return type in docs
Correct return type in docs

Co-Authored-By: Travis Ralston <f36f6a6abc4b55589c96c71fceedf83e596b8f33@gmail.com>
matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk