1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

fix tests

This commit is contained in:
Zoe
2020-02-05 11:07:55 +00:00
parent 9c01945a05
commit 6d8e8e6bd7
2 changed files with 3 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
declare function unhomoglyph (s: string): string;
declare module 'unhomoglyph' {
const unhomoglyph: (s: string) => string;
export = unhomoglyph;
}

View File

@@ -20,7 +20,7 @@ limitations under the License.
* @module utils
*/
import * as unhomoglyph from 'unhomoglyph';
import unhomoglyph from 'unhomoglyph';
/**
* Encode a dictionary of query parameters.