Make tsc happy with the js-sdk

This commit is contained in:
David Baker 2022-05-07 19:02:54 +01:00
parent adc7892d8c
commit 446fd9c7c0
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,9 @@ limitations under the License.
import { useCallback, useEffect, useState } from "react"; import { useCallback, useEffect, useState } from "react";
import { MatrixClient } from "matrix-js-sdk/src/client"; import { MatrixClient } from "matrix-js-sdk/src/client";
// XXX: This must come after the other js-sdk import because of
// https://github.com/matrix-org/matrix-js-sdk/issues/2351
import "matrix-js-sdk/src/@types/global";
import { GroupCall } from "matrix-js-sdk/src/webrtc/groupCall"; import { GroupCall } from "matrix-js-sdk/src/webrtc/groupCall";
import { CallFeed } from "matrix-js-sdk/src/webrtc/callFeed"; import { CallFeed } from "matrix-js-sdk/src/webrtc/callFeed";

View File

@ -6,7 +6,7 @@
"moduleResolution": "node", "moduleResolution": "node",
"noEmit": true, "noEmit": true,
"noImplicitAny": false, "noImplicitAny": false,
"noUnusedLocals": true, "noUnusedLocals": false,
"jsx": "preserve", "jsx": "preserve",
"lib": [ "lib": [
"es2020", "es2020",