1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Improve client metadata used for OIDC dynamic registration (#12257)

This commit is contained in:
Michael Telatynski
2024-02-16 14:43:58 +00:00
committed by GitHub
parent e8ce9cb360
commit cd8679c172
7 changed files with 80 additions and 41 deletions

View File

@ -22,7 +22,7 @@ import PlatformPeg from "../../src/PlatformPeg";
// doesn't implement abstract
// @ts-ignore
class MockPlatform extends BasePlatform {
constructor(platformMocks: Partial<Record<MethodLikeKeys<BasePlatform>, unknown>>) {
constructor(platformMocks: Partial<Record<keyof BasePlatform, unknown>>) {
super();
Object.assign(this, platformMocks);
}