mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 01:45:19 +03:00
9f7165ed63
* Use roon name for room intro * Fix types * Revert caption var change * Fix type issue
3547 lines
431 KiB
Text
3547 lines
431 KiB
Text
node_modules/@matrix-org/olm/index.d.ts(21,5): error TS7010: 'free', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(22,5): error TS7010: 'create', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(26,5): error TS7010: 'mark_keys_as_published', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(28,5): error TS7010: 'generate_one_time_keys', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(29,5): error TS7010: 'remove_one_time_keys', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(30,5): error TS7010: 'generate_fallback_key', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(35,5): error TS7010: 'unpickle', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(42,5): error TS7010: 'unpickle', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(70,5): error TS7010: 'unpickle', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/@matrix-org/olm/index.d.ts(83,5): error TS7010: 'unpickle', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/await-lock/build/AwaitLock.d.ts(5,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
|
|
node_modules/matrix-events-sdk/lib/NamespacedMap.d.ts(3,35): error TS2344: Type 'Optional<string>' does not satisfy the constraint 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(30,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(34,9): error TS2322: Type 'U | undefined' is not assignable to type 'S | U'.
|
|
Type 'undefined' is not assignable to type 'S | U'.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(37,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(41,9): error TS2322: Type 'U | undefined' is not assignable to type 'S | U | null'.
|
|
Type 'undefined' is not assignable to type 'S | U | null'.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(55,14): error TS2454: Variable 'val' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(58,16): error TS2454: Variable 'val' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(81,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(85,9): error TS2322: Type 'U | undefined' is not assignable to type 'S | U'.
|
|
Type 'undefined' is not assignable to type 'S | U'.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(102,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(103,9): error TS2322: Type 'U | undefined' is not assignable to type 'U'.
|
|
'U' could be instantiated with an arbitrary type which could be unrelated to 'U | undefined'.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(106,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/NamespacedValue.ts(107,9): error TS2322: Type 'S | null | undefined' is not assignable to type 'S'.
|
|
'S' could be instantiated with an arbitrary type which could be unrelated to 'S | null | undefined'.
|
|
node_modules/matrix-js-sdk/src/ReEmitter.ts(65,35): error TS2345: Argument of type '((...args: any[]) => void) | undefined' is not assignable to parameter of type '(...args: any[]) => void'.
|
|
Type 'undefined' is not assignable to type '(...args: any[]) => void'.
|
|
node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts(31,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts(45,9): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts(64,9): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts(89,72): error TS2345: Argument of type 'null' is not assignable to parameter of type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts(93,32): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts(95,65): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts(103,13): error TS2322: Type 'Timeout' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(151,13): error TS2322: Type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }' is not assignable to type 'IClientWellKnown'.
|
|
The types of '"m.identity_server".error' are incompatible between these types.
|
|
Type 'null' is not assignable to type 'string | Error | undefined'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(160,13): error TS2322: Type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }' is not assignable to type 'IClientWellKnown'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(171,13): error TS2322: Type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }' is not assignable to type 'IClientWellKnown'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(184,13): error TS2322: Type 'string | true' is not assignable to type 'null'.
|
|
Type 'string' is not assignable to type 'null'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(186,13): error TS2322: Type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }' is not assignable to type 'IClientWellKnown'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(192,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(193,13): error TS2322: Type 'string | true' is not assignable to type 'null'.
|
|
Type 'string' is not assignable to type 'null'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(234,17): error TS2322: Type 'string | true' is not assignable to type 'null'.
|
|
Type 'string' is not assignable to type 'null'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(246,17): error TS2322: Type 'string | true' is not assignable to type 'null'.
|
|
Type 'string' is not assignable to type 'null'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(259,21): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ state: AutoDiscoveryAction; error: string; base_url: null; } | { state: AutoDiscoveryAction; error: null; base_url: null; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ state: AutoDiscoveryAction; error: string; base_url: null; } | { state: AutoDiscoveryAction; error: null; base_url: null; }'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(263,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(268,9): error TS2322: Type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }' is not assignable to type 'IClientWellKnown'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(328,21): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(336,13): error TS2322: Type '{ "m.homeserver": { state: AutoDiscoveryAction; error: string; base_url: null; }; "m.identity_server": { state: AutoDiscoveryAction; error: null; base_url: null; }; }' is not assignable to type 'IClientWellKnown'.
|
|
The types of '"m.identity_server".error' are incompatible between these types.
|
|
Type 'null' is not assignable to type 'string | Error | undefined'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(443,29): error TS2322: Type 'unknown' is not assignable to type 'string | Error | undefined'.
|
|
node_modules/matrix-js-sdk/src/autodiscovery.ts(446,37): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(498,5): error TS2411: Property '"og:image"' of type 'string | undefined' is not assignable to 'string' index type 'string | number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(499,5): error TS2411: Property '"og:image:type"' of type 'string | undefined' is not assignable to 'string' index type 'string | number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(500,5): error TS2411: Property '"og:image:height"' of type 'number | undefined' is not assignable to 'string' index type 'string | number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(501,5): error TS2411: Property '"og:image:width"' of type 'number | undefined' is not assignable to 'string' index type 'string | number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(502,5): error TS2411: Property '"og:description"' of type 'string | undefined' is not assignable to 'string' index type 'string | number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(503,5): error TS2411: Property '"matrix:image:size"' of type 'number | undefined' is not assignable to 'string' index type 'string | number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(892,12): error TS2322: Type 'null' is not assignable to type '[number, number, number]'.
|
|
node_modules/matrix-js-sdk/src/client.ts(897,12): error TS2564: Property 'pickleKey' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(904,12): error TS2564: Property 'crypto' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(906,12): error TS2564: Property 'callEventHandler' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(917,15): error TS2322: Type 'null' is not assignable to type 'SyncApi'.
|
|
node_modules/matrix-js-sdk/src/client.ts(920,15): error TS2322: Type 'null' is not assignable to type 'EventTimelineSet'.
|
|
node_modules/matrix-js-sdk/src/client.ts(925,15): error TS2564: Property 'syncApi' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(927,12): error TS2564: Property 'pushRules' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(928,15): error TS2564: Property 'syncLeftRoomsPromise' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(930,15): error TS2564: Property 'clientOpts' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(931,15): error TS2564: Property 'clientWellKnownIntervalID' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(932,15): error TS2564: Property 'canResetTimelineCallback' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(939,15): error TS2564: Property 'serverVersionsPromise' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(941,12): error TS2564: Property 'cachedCapabilities' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(945,15): error TS2564: Property 'clientWellKnown' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(946,15): error TS2564: Property 'clientWellKnownPromise' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(950,15): error TS2564: Property 'exportedOlmDeviceToImport' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/client.ts(961,54): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(965,9): error TS2322: Type 'IIdentityServerProvider | undefined' is not assignable to type 'IIdentityServerProvider'.
|
|
Type 'undefined' is not assignable to type 'IIdentityServerProvider'.
|
|
node_modules/matrix-js-sdk/src/client.ts(967,9): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/client.ts(968,9): error TS2322: Type 'IStore | StubStore' is not assignable to type 'IStore'.
|
|
Type 'StubStore' is not assignable to type 'IStore'.
|
|
Types of property 'getAccountData' are incompatible.
|
|
Type '(eventType: string) => MatrixEvent | undefined' is not assignable to type '(eventType: string) => MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/client.ts(969,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(972,30): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(978,13): error TS2322: Type '((opts: Pick<CoreOptions, RequestProps> & { uri: string; method: Method; _matrix_opts: IHttpOpts; }, callback: RequestCallback) => IRequest) | undefined' is not assignable to type '(opts: Pick<CoreOptions, RequestProps> & { uri: string; method: Method; _matrix_opts: IHttpOpts; }, callback: RequestCallback) => IRequest'.
|
|
Type 'undefined' is not assignable to type '(opts: Pick<CoreOptions, RequestProps> & { uri: string; method: Method; _matrix_opts: IHttpOpts; }, callback: RequestCallback) => IRequest'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1009,9): error TS2322: Type 'MatrixScheduler<ISendEventResponse> | undefined' is not assignable to type 'MatrixScheduler<ISendEventResponse>'.
|
|
Type 'undefined' is not assignable to type 'MatrixScheduler<ISendEventResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1012,43): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1037,9): error TS2322: Type 'CryptoStore | undefined' is not assignable to type 'CryptoStore'.
|
|
Type 'undefined' is not assignable to type 'CryptoStore'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1038,9): error TS2322: Type 'string[] | undefined' is not assignable to type 'string[]'.
|
|
Type 'undefined' is not assignable to type 'string[]'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1062,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1072,50): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1075,44): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1077,56): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1078,56): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1079,86): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1083,25): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1083,38): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1084,86): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1102,41): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(o: {}): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type '{}'.
|
|
Overload 2 of 2, '(o: object): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'object'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1102,57): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1123,47): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1188,21): error TS2339: Property 'serverSupport' does not exist on type '{ serverSupport: boolean; stable: boolean; } | null'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1188,36): error TS2339: Property 'stable' does not exist on type '{ serverSupport: boolean; stable: boolean; } | null'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1236,9): error TS2322: Type 'null' is not assignable to type 'SyncApi | SlidingSyncSdk'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1241,9): error TS2322: Type 'null' is not assignable to type 'CallEventHandler'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1243,30): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(intervalId: Timeout): void', gave the following error.
|
|
Argument of type 'Timeout | null' is not assignable to parameter of type 'Timeout'.
|
|
Type 'null' is not assignable to type 'Timeout'.
|
|
Overload 2 of 3, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
|
|
Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
Overload 3 of 3, '(id?: number | undefined): void', gave the following error.
|
|
Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'.
|
|
Type 'null' is not assignable to type 'number | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1262,37): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1268,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1273,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1278,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1286,17): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1300,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ success: boolean; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1326,17): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1341,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IDehydratedDevice>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1350,60): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1351,13): error TS2322: Type 'undefined' is not assignable to type 'IDehydratedDevice'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1373,13): error TS2322: Type 'undefined' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1394,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1403,13): error TS2322: Type 'undefined' is not assignable to type 'IExportedDevice'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1406,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1407,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1452,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1471,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1525,13): error TS2322: Type 'null' is not assignable to type 'SyncState'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1635,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1639,17): error TS2345: Argument of type '(r?: { capabilities?: ICapabilities | undefined; }) => ICapabilities' is not assignable to parameter of type '(value: unknown) => ICapabilities | PromiseLike<ICapabilities>'.
|
|
Types of parameters 'r' and 'value' are incompatible.
|
|
Type 'unknown' is not assignable to type '{ capabilities?: ICapabilities | undefined; } | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1709,13): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1734,16): error TS2790: The operand of a 'delete' operator must be optional.
|
|
node_modules/matrix-js-sdk/src/client.ts(1758,27): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1769,27): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1848,77): error TS2345: Argument of type 'null' is not assignable to parameter of type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1874,61): error TS2345: Argument of type 'null' is not assignable to parameter of type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1892,61): error TS2345: Argument of type 'null' is not assignable to parameter of type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/client.ts(1966,56): error TS2345: Argument of type 'string[] | undefined' is not assignable to parameter of type 'string[]'.
|
|
Type 'undefined' is not assignable to type 'string[]'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2363,65): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2379,48): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2504,13): error TS2322: Type 'null' is not assignable to type 'DeviceInfo'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2506,9): error TS2322: Type 'DeviceInfo | null' is not assignable to type 'DeviceInfo'.
|
|
Type 'null' is not assignable to type 'DeviceInfo'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2533,61): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2668,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IKeyBackupInfo>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2672,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2705,9): error TS2322: Type 'boolean | null' is not assignable to type 'boolean'.
|
|
Type 'null' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2824,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IKeyBackupInfo>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2856,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<void>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2872,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2895,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(2908,22): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(roomId: undefined, sessionId: undefined, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string' is not assignable to parameter of type 'undefined'.
|
|
Overload 2 of 3, '(roomId: string, sessionId: undefined, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 3 of 3, '(roomId: string, sessionId: string, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(2910,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<void>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3019,22): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(privKey: ArrayLike<number>, targetRoomId: undefined, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 2 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 3 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: string, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3054,22): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(privKey: ArrayLike<number>, targetRoomId: undefined, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 2 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 3 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: string, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3101,47): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(privKey: ArrayLike<number>, targetRoomId: undefined, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 2 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 3 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: string, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3132,47): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(privKey: ArrayLike<number>, targetRoomId: undefined, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 2 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 3 of 3, '(privKey: ArrayLike<number>, targetRoomId: string, targetSessionId: string, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3173,45): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(roomId: undefined, sessionId: undefined, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 2 of 3, '(roomId: string, sessionId: undefined, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 3 of 3, '(roomId: string, sessionId: string, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3201,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IKeyBackupSession | IRoomKeysResponse | IRoomsKeysResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3222,21): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3228,25): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3230,21): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3231,21): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3264,45): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(roomId: undefined, sessionId: undefined, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 2 of 3, '(roomId: string, sessionId: undefined, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 3 of 3, '(roomId: string, sessionId: string, version: string): IKeyBackupPath', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3266,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<void>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3293,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3312,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3398,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3402,44): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3407,9): error TS2322: Type 'Promise<unknown>' is not assignable to type 'Promise<{}>'.
|
|
Type 'unknown' is not assignable to type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3432,17): error TS2322: Type 'null' is not assignable to type 'T'.
|
|
'T' could be instantiated with an arbitrary type which could be unrelated to 'null'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3439,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3443,50): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<T>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3445,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3446,17): error TS2322: Type 'null' is not assignable to type 'T'.
|
|
'T' could be instantiated with an arbitrary type which could be unrelated to 'null'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3472,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3510,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3518,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<void | IThirdPartySigned>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3538,55): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3540,28): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3592,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3645,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3648,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3661,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3665,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3677,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3681,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3699,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3703,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3731,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3735,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3765,83): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3778,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(3811,26): error TS7053: Element implicitly has an 'any' type because expression of type '"m.relates_to"' can't be used to index type 'string | IContent'.
|
|
Property 'm.relates_to' does not exist on type 'string | IContent'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3812,31): error TS7053: Element implicitly has an 'any' type because expression of type '"m.relates_to"' can't be used to index type 'string | IContent'.
|
|
Property 'm.relates_to' does not exist on type 'string | IContent'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3813,13): error TS7053: Element implicitly has an 'any' type because expression of type '"m.relates_to"' can't be used to index type 'string | IContent'.
|
|
Property 'm.relates_to' does not exist on type 'string | IContent'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3814,20): error TS7053: Element implicitly has an 'any' type because expression of type '"m.relates_to"' can't be used to index type 'string | IContent'.
|
|
Property 'm.relates_to' does not exist on type 'string | IContent'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3822,17): error TS7053: Element implicitly has an 'any' type because expression of type '"m.relates_to"' can't be used to index type 'string | IContent'.
|
|
Property 'm.relates_to' does not exist on type 'string | IContent'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3869,40): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3889,28): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3890,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3891,47): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3911,41): error TS2345: Argument of type 'Room | null' is not assignable to parameter of type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3949,17): error TS2322: Type 'Promise<ISendEventResponse> | null' is not assignable to type 'Promise<ISendEventResponse>'.
|
|
Type 'null' is not assignable to type 'Promise<ISendEventResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(3950,21): error TS2801: This condition will always return true since this 'Promise<import("/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/@types/requests").ISendEventResponse>' is always defined.
|
|
node_modules/matrix-js-sdk/src/client.ts(3957,18): error TS2454: Variable 'promise' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/client.ts(3985,61): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4005,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4037,48): error TS2345: Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4078,40): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4081,50): error TS2345: Argument of type '{ $roomId: string | undefined; $eventType: string; $stateKey: string | undefined; $txnId: string; }' is not assignable to parameter of type 'Record<string, string>'.
|
|
Property '$roomId' is incompatible with index signature.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4084,50): error TS2345: Argument of type '{ $redactsEventId: string | undefined; } & { $roomId: string | undefined; $eventType: string; $stateKey: string | undefined; $txnId: string; }' is not assignable to parameter of type 'Record<string, string>'.
|
|
Property '$redactsEventId' is incompatible with index signature.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4088,77): error TS2345: Argument of type '{ $roomId: string | undefined; $eventType: string; $stateKey: string | undefined; $txnId: string; }' is not assignable to parameter of type 'Record<string, string>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4092,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<ISendEventResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4133,13): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4155,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(4191,17): error TS2322: Type 'null' is not assignable to type 'IPartialEvent<object>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4204,21): error TS7053: Element implicitly has an 'any' type because expression of type '"m.new_content"' can't be used to index type '{}'.
|
|
Property 'm.new_content' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4212,25): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4362,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(4394,13): error TS2322: Type 'undefined' is not assignable to type 'string | Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4415,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(4447,13): error TS2322: Type 'undefined' is not assignable to type 'string | Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4467,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(4505,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(4544,12): error TS2394: This overload signature is not compatible with its implementation signature.
|
|
node_modules/matrix-js-sdk/src/client.ts(4595,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4599,49): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4601,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4603,38): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4618,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4658,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4668,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4671,76): error TS2454: Variable 'rrEventId' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/client.ts(4671,87): error TS2454: Variable 'rpEventId' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/client.ts(4710,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4737,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4745,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4888,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4898,46): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4934,17): error TS2322: Type 'null' is not assignable to type 'Error'.
|
|
node_modules/matrix-js-sdk/src/client.ts(4972,55): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5004,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5025,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5046,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5065,9): error TS2322: Type 'IActionsObject | null' is not assignable to type 'IActionsObject'.
|
|
Type 'null' is not assignable to type 'IActionsObject'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5080,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5083,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5095,35): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5112,35): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5154,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5166,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5181,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5204,13): error TS2322: Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5253,21): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5256,17): error TS2322: Type 'null' is not assignable to type '{ promise?: Promise<Room> | undefined; errorTs?: number | undefined; }'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5270,13): error TS2322: Type 'null' is not assignable to type 'number | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5309,13): error TS2322: Type 'EventTimeline | null' is not assignable to type 'EventTimeline | undefined'.
|
|
Type 'null' is not assignable to type 'EventTimeline | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5314,26): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5319,13): error TS2322: Type 'undefined' is not assignable to type 'Record<string, string | string[]>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5325,69): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IContextResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5332,13): error TS2322: Type 'EventTimeline | null' is not assignable to type 'EventTimeline | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5370,24): error TS2322: Type 'string | undefined' is not assignable to type 'string | null'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5388,50): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5391,34): error TS2345: Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5398,16): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5421,26): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5432,70): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IMessagesResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5438,9): error TS2322: Type 'EventTimeline | undefined' is not assignable to type 'EventTimeline'.
|
|
Type 'undefined' is not assignable to type 'EventTimeline'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5487,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IMessagesResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5539,17): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5543,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<INotificationsResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5568,54): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5572,17): error TS2322: Type 'null' is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5597,58): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5606,54): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5610,17): error TS2322: Type 'null' is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5637,56): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5672,13): error TS2322: Type 'null' is not assignable to type 'SyncApi'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5931,34): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<T>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5944,18): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IPushRules'.
|
|
No index signature with a parameter of type 'string' was found on type 'IPushRules'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5944,44): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IPushRules'.
|
|
No index signature with a parameter of type 'string' was found on type 'IPushRules'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5947,33): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IPushRules'.
|
|
No index signature with a parameter of type 'string' was found on type 'IPushRules'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5948,30): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IPushRules'.
|
|
No index signature with a parameter of type 'string' was found on type 'IPushRules'.
|
|
node_modules/matrix-js-sdk/src/client.ts(5982,81): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6009,13): error TS2454: Variable 'promise' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/client.ts(6123,37): error TS2345: Argument of type '{ body: ISearchRequestBody | undefined; next_batch: string; }' is not assignable to parameter of type '{ body: ISearchRequestBody; next_batch?: string | undefined; }'.
|
|
Types of property 'body' are incompatible.
|
|
Type 'ISearchRequestBody | undefined' is not assignable to type 'ISearchRequestBody'.
|
|
Type 'undefined' is not assignable to type 'ISearchRequestBody'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6126,17): error TS2322: Type 'null' is not assignable to type 'Promise<ISearchResults> | undefined'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6164,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6199,13): error TS2322: Type 'null' is not assignable to type 'Promise<Room[]>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6213,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6215,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IFilterResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6218,48): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6246,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IFilterDefinition>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6267,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6286,21): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6286,54): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6292,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6305,50): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6306,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6318,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6322,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IOpenIDToken>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6339,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6359,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/client.ts(6366,13): error TS2322: Type 'undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6394,21): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6399,61): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: ClientEvent.TurnServersError, error: Error, fatal: boolean): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
Overload 2 of 2, '(event: ClientEvent.TurnServersError, error: Error, fatal: boolean): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6402,61): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: ClientEvent.TurnServersError, error: Error, fatal: boolean): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
Overload 2 of 2, '(event: ClientEvent.TurnServersError, error: Error, fatal: boolean): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6442,15): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6445,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6446,21): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6461,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<ISynapseAdminWhoisResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6476,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<ISynapseAdminDeactivateResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6510,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6536,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ joined: string[]; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6553,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IServerVersions>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6562,13): error TS2322: Type 'null' is not assignable to type 'Promise<IServerVersions>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6766,77): error TS2345: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6790,13): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/client.ts(6917,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ available: true; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7044,34): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7060,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IRefreshTokenResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7078,34): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7203,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7232,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7288,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7325,17): error TS2322: Type 'string | null | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7326,17): error TS2322: Type 'string | null | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7329,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IRelationsResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7343,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7366,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7400,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7416,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ replacement_room: string; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7445,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7474,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7487,13): error TS2322: Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7494,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7528,13): error TS7053: Element implicitly has an 'any' type because expression of type 'ReceiptType' can't be used to index type '{ "m.fully_read": string; "m.read": string; }'.
|
|
Property '[ReceiptType.ReadPrivate]' does not exist on type '{ "m.fully_read": string; "m.read": string; }'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7531,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7540,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IJoinedRoomsResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7554,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IJoinedMembersResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7586,44): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7588,44): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7607,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7622,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7635,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ aliases: string[]; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7653,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7666,34): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7680,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7697,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7724,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7745,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IUserDirectoryResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7840,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7849,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7872,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7891,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7913,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7940,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ id_server_unbind_result: IdServerUnbindResult; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(7957,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ id_server_unbind_result: IdServerUnbindResult; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8003,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
Type 'undefined' is not assignable to type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8013,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ devices: IMyDevice[]; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8026,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IMyDevice>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8043,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8065,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{} | IAuthData>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8084,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{} | IAuthData>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8095,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8108,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8118,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8144,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8166,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8191,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8217,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8238,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8259,40): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8264,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IUploadKeySignaturesResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8301,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IDownloadKeyResult>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8340,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IClaimOTKsResult>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8359,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ changed: string[]; left: string[]; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8366,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8392,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8437,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8487,13): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8524,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8560,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8572,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8641,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8645,27): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8648,42): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8649,26): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8685,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8759,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8792,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8797,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8818,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<Record<string, IProtocol>>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8844,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IThirdPartyLocation[]>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8860,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IThirdPartyUser[]>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8865,42): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8878,42): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8895,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{}>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8921,13): error TS2322: Type 'string | undefined' is not assignable to type 'string | string[]'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8922,13): error TS2322: Type 'string | undefined' is not assignable to type 'string | string[]'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8923,13): error TS2322: Type 'string | undefined' is not assignable to type 'string | string[]'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8926,56): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IRoomHierarchy>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8931,64): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IRoomHierarchy>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(8956,21): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
|
|
node_modules/matrix-js-sdk/src/client.ts(9029,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<MSC3575SlidingSyncResponse>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(9057,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IRoomSummary>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(9084,40): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ user_id: string; }>'.
|
|
node_modules/matrix-js-sdk/src/client.ts(9103,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<ITimestampToEventResponse>'.
|
|
node_modules/matrix-js-sdk/src/content-helpers.ts(158,75): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/content-helpers.ts(191,65): error TS2345: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string | undefined'.
|
|
Type 'null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/content-helpers.ts(205,27): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(87,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'CrossSigningInfo'.
|
|
No index signature with a parameter of type 'string' was found on type 'CrossSigningInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(87,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'ICrossSigningInfo'.
|
|
No index signature with a parameter of type 'string' was found on type 'ICrossSigningInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(120,48): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(121,23): error TS2322: Type 'undefined' is not assignable to type '[string, PkSigning]'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(135,41): error TS2345: Argument of type 'Uint8Array | undefined' is not assignable to parameter of type 'Uint8Array'.
|
|
Type 'undefined' is not assignable to type 'Uint8Array'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(186,9): error TS2322: Type 'Record<string, ISecretStorageKeyInfo> | null' is not assignable to type 'Record<string, object>'.
|
|
Type 'null' is not assignable to type 'Record<string, object>'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(201,42): error TS2802: Type 'Map<string, Uint8Array>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(219,13): error TS2322: Type 'null' is not assignable to type 'Uint8Array'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(236,24): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(253,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(272,31): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(438,13): error TS2322: Type 'null' is not assignable to type 'ICrossSigningKey'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(439,13): error TS2322: Type 'null' is not assignable to type 'ICrossSigningKey'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(475,13): error TS2322: Type 'undefined' is not assignable to type 'ICrossSigningKey'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(488,13): error TS2322: Type 'undefined' is not assignable to type 'ISignedKey'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(756,9): error TS2322: Type 'undefined' is not assignable to type 'Promise<void | KeysDuringVerification>'.
|
|
node_modules/matrix-js-sdk/src/crypto/CrossSigning.ts(814,17): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(targetRoomId: undefined, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'IKeyBackupInfo | null' is not assignable to parameter of type 'IKeyBackupInfo'.
|
|
Type 'null' is not assignable to type 'IKeyBackupInfo'.
|
|
Overload 2 of 3, '(targetRoomId: string, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<IKeyBackupRestoreResult>', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
Overload 3 of 3, '(targetRoomId: string, targetSessionId: string, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<IKeyBackupRestoreResult>', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(84,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(92,13): error TS2322: Type 'null' is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(94,13): error TS2322: Type 'null' is not assignable to type '(saved: boolean) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(96,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(98,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(101,13): error TS2322: Type 'null' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(130,21): error TS2322: Type 'string | null | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(185,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(186,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(208,17): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(209,17): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(210,17): error TS2322: Type 'null' is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(211,17): error TS2322: Type 'null' is not assignable to type '(saved: boolean) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(275,17): error TS2801: This condition will always return true since this 'Promise<void>' is always defined.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(366,45): error TS2322: Type 'null' is not assignable to type 'CrossSigningInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(388,13): error TS2322: Type 'undefined' is not assignable to type 'DeviceInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(407,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(690,13): error TS2322: Type 'null' is not assignable to type 'IDeferred<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(692,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(751,9): error TS2322: Type 'null' is not assignable to type 'IDeferred<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(788,37): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(789,43): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(790,43): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(822,55): error TS2339: Property 'user_id' does not exist on type '{ [userId: string]: { keys: { [keyId: string]: string; }; usage: string[]; user_id: string; }; } | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(823,61): error TS2339: Property 'user_id' does not exist on type '{ [userId: string]: { keys: { [keyId: string]: string; }; usage: string[]; user_id: string; }; } | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(824,67): error TS2339: Property 'user_id' does not exist on type '{ [userId: string]: { keys: { [keyId: string]: string; }; signatures: ISignatures; usage: string[]; user_id: string; }; } | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/DeviceList.ts(843,17): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(56,13): error TS2322: Type 'null' is not assignable to type 'ICrossSigningKeys'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(57,13): error TS2322: Type 'null' is not assignable to type 'KeySignatures'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(58,13): error TS2322: Type 'null' is not assignable to type 'IKeyBackupInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(59,13): error TS2564: Property 'sessionBackupPrivateKey' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(165,23): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(165,70): error TS2345: Argument of type 'Uint8Array | undefined' is not assignable to parameter of type 'Uint8Array'.
|
|
Type 'undefined' is not assignable to type 'Uint8Array'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(213,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<CrossSigningKeys>'.
|
|
No index signature with a parameter of type 'string' was found on type 'Partial<CrossSigningKeys>'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(218,19): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(227,43): error TS2802: Type 'Map<string, object>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(244,21): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(254,21): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(301,9): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/EncryptionSetup.ts(343,9): error TS2322: Type 'Promise<Uint8Array | undefined>' is not assignable to type 'Promise<Uint8Array>'.
|
|
Type 'Uint8Array | undefined' is not assignable to type 'Uint8Array'.
|
|
Type 'undefined' is not assignable to type 'Uint8Array'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(47,9): error TS7053: Element implicitly has an 'any' type because expression of type '"data"' can't be used to index type 'Error'.
|
|
Property 'data' does not exist on type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(146,12): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(147,12): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(148,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(267,25): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(359,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(406,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(462,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(483,9): error TS2322: Type 'undefined' is not assignable to type '{ curve25519: { [keyId: string]: string; }; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(555,16): error TS2454: Variable 'result' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(606,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(608,16): error TS2454: Variable 'newSessionId' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(666,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(669,16): error TS2454: Variable 'result' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(680,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(680,21): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(682,13): error TS2801: This condition will always return true since this 'Promise<void>' is always defined.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(704,16): error TS2454: Variable 'sessionIds' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(770,15): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(772,13): error TS2801: This condition will always return true since this 'Promise<void>' is always defined.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(781,15): error TS7034: Variable 'info' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(802,16): error TS7005: Variable 'info' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(836,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(838,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(873,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(875,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(908,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(910,9): error TS2322: Type 'undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(918,9): error TS2322: Type 'Promise<IProblem | null>' is not assignable to type 'Promise<IProblem>'.
|
|
Type 'IProblem | null' is not assignable to type 'IProblem'.
|
|
Type 'null' is not assignable to type 'IProblem'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1060,40): error TS2345: Argument of type '(sessionData: InboundGroupSessionData, withheld: IWithheld | null) => void' is not assignable to parameter of type '(groupSession: InboundGroupSessionData | null, groupSessionWithheld: IWithheld | null) => void'.
|
|
Types of parameters 'sessionData' and 'groupSession' are incompatible.
|
|
Type 'InboundGroupSessionData | null' is not assignable to type 'InboundGroupSessionData'.
|
|
Type 'null' is not assignable to type 'InboundGroupSessionData'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1062,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'InboundGroupSession'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1076,48): error TS2345: Argument of type 'IWithheld | null' is not assignable to parameter of type 'IWithheld | undefined'.
|
|
Type 'null' is not assignable to type 'IWithheld | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1177,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1261,29): error TS2322: Type 'null' is not assignable to type 'IDecryptedGroupMessage'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1268,38): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1277,33): error TS2322: Type 'unknown' is not assignable to type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1282,53): error TS2339: Property 'plaintext' does not exist on type 'object'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1285,29): error TS2322: Type 'object' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1292,73): error TS2339: Property 'message_index' does not exist on type 'object'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1326,29): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1331,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1334,13): error TS2454: Variable 'error' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1337,16): error TS2454: Variable 'result' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1377,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1380,16): error TS2454: Variable 'result' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1417,29): error TS2322: Type 'null' is not assignable to type 'IInboundGroupSessionKey'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1435,29): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1441,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1444,16): error TS2454: Variable 'result' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1484,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1486,16): error TS2454: Variable 'result' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/OlmDevice.ts(1532,16): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "m.unverified": string; "m.blacklisted": string; "m.unauthorised": string; "m.no_olm": string; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ "m.unverified": string; "m.blacklisted": string; "m.unauthorised": string; "m.no_olm": string; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(81,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(374,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(382,17): error TS2345: Argument of type '(req: OutgoingRoomKeyRequest) => Promise<void> | undefined' is not assignable to parameter of type '(value: OutgoingRoomKeyRequest | null) => void | PromiseLike<void | undefined> | undefined'.
|
|
Types of parameters 'req' and 'value' are incompatible.
|
|
Type 'OutgoingRoomKeyRequest | null' is not assignable to type 'OutgoingRoomKeyRequest'.
|
|
Type 'null' is not assignable to type 'OutgoingRoomKeyRequest'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(384,17): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(401,20): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(406,17): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(453,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(470,34): error TS7006: Parameter 'message' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(470,43): error TS7006: Parameter 'recipients' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(483,31): error TS7006: Parameter 'requestBody' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(489,33): error TS7006: Parameter 'recipients' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/OutgoingRoomKeyRequestManager.ts(491,27): error TS7006: Parameter 'r' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(149,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(150,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(187,13): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(207,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(222,57): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(290,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(305,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ key_id: IEncryptedPayload; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ key_id: IEncryptedPayload; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(325,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ key_id: IEncryptedPayload; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ key_id: IEncryptedPayload; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(330,69): error TS2339: Property 'get_private_key' does not exist on type 'IDecryptors'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(334,42): error TS2339: Property 'free' does not exist on type 'IDecryptors'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(334,59): error TS2339: Property 'free' does not exist on type 'IDecryptors'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(361,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ key_id: IEncryptedPayload; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ key_id: IEncryptedPayload; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(366,21): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(380,27): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(391,13): error TS2454: Variable 'resolve' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(392,13): error TS2454: Variable 'reject' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(399,39): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(404,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(406,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(407,17): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(407,18): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(419,35): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(424,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(427,9): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(428,13): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(428,14): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(441,24): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(470,30): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(488,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(501,33): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(505,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(506,21): error TS2345: Argument of type 'MatrixClient | undefined' is not assignable to parameter of type 'MatrixClient'.
|
|
Type 'undefined' is not assignable to type 'MatrixClient'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(509,29): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(515,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(515,21): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(516,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(517,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(519,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(529,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(537,35): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(548,32): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/SecretStorage.ts(550,17): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(22,44): error TS2339: Property 'webkitSubtle' does not exist on type 'Crypto'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(97,29): error TS2769: No overload matches this call.
|
|
Overload 1 of 4, '(arrayBuffer: WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>, byteOffset?: number | undefined, length?: number | undefined): Buffer', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>'.
|
|
Type 'undefined' is not assignable to type 'WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>'.
|
|
Overload 2 of 4, '(str: WithImplicitCoercion<string> | { [Symbol.toPrimitive](hint: "string"): string; }, encoding?: BufferEncoding | undefined): Buffer', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'WithImplicitCoercion<string> | { [Symbol.toPrimitive](hint: "string"): string; }'.
|
|
Type 'undefined' is not assignable to type 'WithImplicitCoercion<string> | { [Symbol.toPrimitive](hint: "string"): string; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(100,18): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(105,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(107,28): error TS2769: No overload matches this call.
|
|
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: Encoding): string', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'ArrayBufferView'.
|
|
Type 'undefined' is not assignable to type 'ArrayBufferView'.
|
|
Overload 2 of 4, '(data: string, input_encoding: Encoding | undefined, output_encoding: Encoding): string', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(150,30): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(160,24): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(186,37): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(188,16): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(191,22): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(197,29): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(200,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(211,27): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(218,27): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(234,21): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/aes.ts(242,22): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/base.ts(301,39): error TS2345: Argument of type 'new (params: Omit<IParams, "deviceId">) => DecryptionAlgorithm' is not assignable to parameter of type 'new (params: DecryptionClassParams) => DecryptionAlgorithm'.
|
|
Types of parameters 'params' and 'params' are incompatible.
|
|
Property 'config' is missing in type 'DecryptionClassParams' but required in type 'Omit<IParams, "deviceId">'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1230,13): error TS2322: Type 'IDecryptedGroupMessage | null' is not assignable to type 'IDecryptedGroupMessage'.
|
|
Type 'null' is not assignable to type 'IDecryptedGroupMessage'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1231,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1235,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1242,22): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1250,21): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1328,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1350,14): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1351,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1353,9): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1375,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1377,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1585,44): error TS2345: Argument of type '{ [x: string]: (DeviceInfo | undefined)[]; }' is not assignable to parameter of type 'Record<string, DeviceInfo[]>'.
|
|
'string' index signatures are incompatible.
|
|
Type '(DeviceInfo | undefined)[]' is not assignable to type 'DeviceInfo[]'.
|
|
Type 'DeviceInfo | undefined' is not assignable to type 'DeviceInfo'.
|
|
Type 'undefined' is not assignable to type 'DeviceInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1621,17): error TS2345: Argument of type 'DeviceInfo | undefined' is not assignable to parameter of type 'DeviceInfo'.
|
|
Type 'undefined' is not assignable to type 'DeviceInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1724,59): error TS2802: Type 'Set<MatrixEvent>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1726,31): error TS2802: Type 'Set<MatrixEvent>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/megolm.ts(1746,31): error TS2802: Type 'Map<string, Set<MatrixEvent>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/olm.ts(199,21): error TS2322: Type 'unknown' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/olm.ts(308,44): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/olm.ts(314,47): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/algorithms/olm.ts(341,41): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(122,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(197,64): error TS2345: Argument of type 'string | Uint8Array | null | undefined' is not assignable to parameter of type 'string | Uint8Array | null'.
|
|
Type 'undefined' is not assignable to type 'string | Uint8Array | null'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(222,13): error TS2322: Type 'null' is not assignable to type 'IKeyBackupCheck'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(226,13): error TS2322: Type 'IKeyBackupInfo | null' is not assignable to type 'IKeyBackupInfo'.
|
|
Type 'null' is not assignable to type 'IKeyBackupInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(229,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(234,13): error TS2322: Type 'null' is not assignable to type 'IKeyBackupCheck'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(300,49): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(301,61): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(303,48): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(304,59): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(targetRoomId: undefined, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<...>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'undefined'.
|
|
Type 'string' is not assignable to type 'undefined'.
|
|
Overload 2 of 3, '(targetRoomId: string, targetSessionId: undefined, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<IKeyBackupRestoreResult>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 3 of 3, '(targetRoomId: string, targetSessionId: string, backupInfo: IKeyBackupInfo, opts?: IKeyBackupRestoreOpts | undefined): Promise<IKeyBackupRestoreResult>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(358,56): error TS2538: Type 'null' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(378,25): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(397,17): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(401,70): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(406,25): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(429,34): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(471,25): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(473,29): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(474,33): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(481,84): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(514,28): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(520,55): error TS2345: Argument of type 'InboundGroupSessionData | undefined' is not assignable to parameter of type 'InboundGroupSessionData'.
|
|
Type 'undefined' is not assignable to type 'InboundGroupSessionData'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(533,80): error TS2345: Argument of type 'DeviceInfo | null' is not assignable to parameter of type 'DeviceInfo'.
|
|
Type 'null' is not assignable to type 'DeviceInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(539,37): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(543,15): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(roomId: undefined, sessionId: undefined, version: string, data: IKeyBackup): Promise<void>', gave the following error.
|
|
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
Overload 2 of 3, '(roomId: string, sessionId: undefined, version: string, data: IKeyBackup): Promise<void>', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
Overload 3 of 3, '(roomId: string, sessionId: string, version: string, data: IKeyBackup): Promise<void>', gave the following error.
|
|
Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(543,65): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(671,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(698,25): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(745,49): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(765,54): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(801,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/backup.ts(829,62): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(17,25): error TS7016: Could not find a declaration file for module 'another-json'. '/home/weeman/git/element/matrix-react-sdk/node_modules/another-json/another-json.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/another-json` if it exists or add a new declaration (.d.ts) file containing `declare module 'another-json';`
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(61,13): error TS2564: Property 'key' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(62,13): error TS2564: Property 'keyInfo' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(63,13): error TS2564: Property 'deviceDisplayName' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(100,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(111,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(125,45): error TS2345: Argument of type 'null' is not assignable to parameter of type 'IEncryptedPayload'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(129,13): error TS2322: Type 'undefined' is not assignable to type 'Uint8Array'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(130,13): error TS2322: Type 'undefined' is not assignable to type '{ [props: string]: any; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(131,13): error TS2322: Type 'undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(156,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(213,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<{ device_id: string; }>'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(271,17): error TS7053: Element implicitly has an 'any' type because expression of type '`signed_curve25519:${string}`' can't be used to index type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/dehydration.ts(276,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/crypto/deviceinfo.ts(75,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'DeviceInfo'.
|
|
No index signature with a parameter of type 'string' was found on type 'DeviceInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/deviceinfo.ts(75,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<IDevice>'.
|
|
No index signature with a parameter of type 'string' was found on type 'Partial<IDevice>'.
|
|
node_modules/matrix-js-sdk/src/crypto/deviceinfo.ts(90,12): error TS2564: Property 'algorithms' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(24,25): error TS7016: Could not find a declaration file for module 'another-json'. '/home/weeman/git/element/matrix-react-sdk/node_modules/another-json/another-json.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/another-json` if it exists or add a new declaration (.d.ts) file containing `declare module 'another-json';`
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(65,41): error TS7016: Could not find a declaration file for module '../errors'. '/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/errors.js' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(277,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(320,13): error TS2564: Property 'oneTimeKeyCount' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(321,13): error TS2564: Property 'needsNewFallback' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(373,28): error TS7053: Element implicitly has an 'any' type because expression of type '"NAME"' can't be used to index type 'number | typeof VerificationBase'.
|
|
Property 'NAME' does not exist on type 'number | typeof VerificationBase'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(375,25): error TS7053: Element implicitly has an 'any' type because expression of type '"NAME"' can't be used to index type 'number | typeof VerificationBase'.
|
|
Property 'NAME' does not exist on type 'number | typeof VerificationBase'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(862,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(869,21): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(870,21): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(937,80): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(995,17): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(1039,80): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(1074,9): error TS2322: Type 'Promise<SecretStorageKeyTuple | null>' is not assignable to type 'Promise<SecretStorageKeyTuple>'.
|
|
Type 'SecretStorageKeyTuple | null' is not assignable to type 'SecretStorageKeyTuple'.
|
|
Type 'null' is not assignable to type '[keyId: string, keyInfo: ISecretStorageKeyInfo]'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(1074,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(1299,8): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(1469,43): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Record<string, ICrossSigningKey>'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(1618,31): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(1980,13): error TS2322: Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2020,13): error TS2454: Variable 'fallbackJson' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2027,13): error TS2454: Variable 'fallbackJson' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2048,54): error TS2345: Argument of type 'boolean | undefined' is not assignable to parameter of type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2119,37): error TS2322: Type 'null' is not assignable to type 'boolean | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2120,36): error TS2322: Type 'null' is not assignable to type 'boolean | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2121,34): error TS2322: Type 'null' is not assignable to type 'boolean | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2207,13): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2232,17): error TS2454: Variable 'device' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2319,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2380,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2472,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2494,9): error TS2322: Type 'DeviceInfo | null' is not assignable to type 'DeviceInfo | undefined'.
|
|
Type 'null' is not assignable to type 'DeviceInfo | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2592,13): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2661,17): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2723,51): error TS2345: Argument of type 'InboundGroupSessionData | undefined' is not assignable to parameter of type 'InboundGroupSessionData'.
|
|
Type 'undefined' is not assignable to type 'InboundGroupSessionData'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2749,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2811,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2822,43): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2823,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2826,44): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2848,13): error TS7053: Element implicitly has an 'any' type because expression of type '"m.relates_to"' can't be used to index type '{}'.
|
|
Property 'm.relates_to' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2851,13): error TS7053: Element implicitly has an 'any' type because expression of type '"io.element.performance_metrics"' can't be used to index type '{}'.
|
|
Property 'io.element.performance_metrics' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2891,47): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(2982,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3019,38): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3319,80): error TS2345: Argument of type '(event: MatrixEvent) => VerificationRequest<ToDeviceChannel> | undefined' is not assignable to parameter of type '(event: MatrixEvent) => VerificationRequest<IVerificationChannel>'.
|
|
Type 'VerificationRequest<ToDeviceChannel> | undefined' is not assignable to type 'VerificationRequest<IVerificationChannel>'.
|
|
Type 'undefined' is not assignable to type 'VerificationRequest<IVerificationChannel>'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3345,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3378,77): error TS2345: Argument of type 'undefined' is not assignable to parameter of type '(event: MatrixEvent) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3379,63): error TS2345: Argument of type 'undefined' is not assignable to parameter of type '(event: MatrixEvent, status: EventStatus) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3545,13): error TS2801: This condition will always return true since this 'Promise<void>' is always defined.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3551,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3649,23): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3649,23): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3682,27): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3751,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3753,13): error TS2322: Type 'Map<string, DecryptionAlgorithm> | undefined' is not assignable to type 'Map<string, DecryptionAlgorithm>'.
|
|
Type 'undefined' is not assignable to type 'Map<string, DecryptionAlgorithm>'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3759,13): error TS2322: Type 'DecryptionAlgorithm | undefined' is not assignable to type 'DecryptionAlgorithm'.
|
|
Type 'undefined' is not assignable to type 'DecryptionAlgorithm'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3780,13): error TS2454: Variable 'decryptors' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3795,25): error TS2802: Type 'IterableIterator<Map<string, DecryptionAlgorithm>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3815,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3815,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/index.ts(3816,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/key_passphrase.ts(21,44): error TS2339: Property 'webkitSubtle' does not exist on type 'Crypto'.
|
|
node_modules/matrix-js-sdk/src/crypto/olmlib.ts(23,25): error TS7016: Could not find a declaration file for module 'another-json'. '/home/weeman/git/element/matrix-react-sdk/node_modules/another-json/another-json.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/another-json` if it exists or add a new declaration (.d.ts) file containing `declare module 'another-json';`
|
|
node_modules/matrix-js-sdk/src/crypto/olmlib.ts(293,21): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/olmlib.ts(316,17): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/olmlib.ts(366,17): error TS2322: Type 'null' is not assignable to type 'IOneTimeKey'.
|
|
node_modules/matrix-js-sdk/src/crypto/olmlib.ts(426,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/olmlib.ts(438,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/recoverykey.ts(35,12): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/recoverykey.ts(42,21): error TS2802: Type 'Uint8Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/store/base.ts(60,5): error TS7010: 'getAccount', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(222,13): error TS2322: Type '(this: IDBRequest<IDBCursorWithValue>) => void' is not assignable to type '(this: IDBRequest<IDBCursorWithValue | null>, ev: Event) => any'.
|
|
The 'this' types of each signature are incompatible.
|
|
Type 'IDBRequest<IDBCursorWithValue | null>' is not assignable to type 'IDBRequest<IDBCursorWithValue>'.
|
|
Types of property 'onerror' are incompatible.
|
|
Type '((this: IDBRequest<IDBCursorWithValue | null>, ev: Event) => any) | null' is not assignable to type '((this: IDBRequest<IDBCursorWithValue>, ev: Event) => any) | null'.
|
|
Type '(this: IDBRequest<IDBCursorWithValue | null>, ev: Event) => any' is not assignable to type '(this: IDBRequest<IDBCursorWithValue>, ev: Event) => any'.
|
|
The 'this' types of each signature are incompatible.
|
|
Type 'IDBRequest<IDBCursorWithValue>' is not assignable to type 'IDBRequest<IDBCursorWithValue | null>'.
|
|
Type 'IDBCursorWithValue | null' is not assignable to type 'IDBCursorWithValue'.
|
|
Type 'null' is not assignable to type 'IDBCursorWithValue'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(230,9): error TS2322: Type '(this: IDBRequest<IDBCursorWithValue>) => void' is not assignable to type '(this: IDBRequest<IDBCursorWithValue | null>, ev: Event) => any'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(280,17): error TS2322: Type '(this: IDBRequest<IDBCursorWithValue>) => void' is not assignable to type '(this: IDBRequest<IDBCursorWithValue | null>, ev: Event) => any'.
|
|
The 'this' types of each signature are incompatible.
|
|
Type 'IDBRequest<IDBCursorWithValue | null>' is not assignable to type 'IDBRequest<IDBCursorWithValue>'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(289,9): error TS2322: Type '(this: IDBRequest<IDBCursorWithValue>) => void' is not assignable to type '(this: IDBRequest<IDBCursorWithValue | null>, ev: Event) => any'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(311,13): error TS2322: Type 'null' is not assignable to type 'OutgoingRoomKeyRequest'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(333,9): error TS2322: Type '(this: IDBRequest<IDBCursorWithValue>) => void' is not assignable to type '(this: IDBRequest<IDBCursorWithValue | null>, ev: Event) => any'.
|
|
The 'this' types of each signature are incompatible.
|
|
Type 'IDBRequest<IDBCursorWithValue | null>' is not assignable to type 'IDBRequest<IDBCursorWithValue>'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(379,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(396,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(412,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(436,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(462,45): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(484,26): error TS2345: Argument of type 'null' is not assignable to parameter of type '{ [sessionId: string]: ISessionInfo; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(487,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(502,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'ISessionInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(505,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(566,9): error TS2322: Type 'undefined' is not assignable to type 'IProblem | null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(610,21): error TS2322: Type 'null' is not assignable to type 'boolean | InboundGroupSessionData'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(616,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(627,21): error TS2322: Type 'null' is not assignable to type 'boolean | IWithheld'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(633,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(651,45): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(658,45): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(675,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(723,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(751,45): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts(1004,21): error TS2345: Argument of type 'null' is not assignable to parameter of type 'T | PromiseLike<T>'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts(21,41): error TS7016: Could not find a declaration file for module '../../errors'. '/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/errors.js' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts(66,13): error TS2322: Type 'null' is not assignable to type 'Promise<CryptoStore>'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts(67,13): error TS2322: Type 'null' is not assignable to type 'CryptoStore'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts(414,68): error TS2345: Argument of type '(sessions: { [sessionId: string]: ISessionInfo; }) => void' is not assignable to parameter of type '(session: ISessionInfo) => void'.
|
|
Types of parameters 'sessions' and 'session' are incompatible.
|
|
Type 'ISessionInfo' is not assignable to type '{ [sessionId: string]: ISessionInfo; }'.
|
|
Index signature for type 'string' is missing in type 'ISessionInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts(695,49): error TS2345: Argument of type '(txn: IDBTransaction) => T' is not assignable to parameter of type '(txn: unknown) => T'.
|
|
Types of parameters 'txn' and 'txn' are incompatible.
|
|
Type 'unknown' is not assignable to type 'IDBTransaction'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(73,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(89,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(100,49): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(o: ArrayLike<unknown> | { [s: string]: unknown; }): [string, unknown][]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'ArrayLike<unknown> | { [s: string]: unknown; }'.
|
|
Overload 2 of 2, '(o: {}): [string, any][]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(106,17): error TS2322: Type 'unknown' is not assignable to type 'ISessionInfo'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(133,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(134,35): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(224,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(231,32): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(232,32): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(233,21): error TS2322: Type 'InboundGroupSessionData | null | undefined' is not assignable to type 'InboundGroupSessionData | undefined'.
|
|
Type 'null' is not assignable to type 'InboundGroupSessionData | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(233,58): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(301,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(302,32): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(303,17): error TS2322: Type 'IRoomEncryption | null' is not assignable to type 'IRoomEncryption'.
|
|
Type 'null' is not assignable to type 'IRoomEncryption'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(303,58): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(324,29): error TS2322: Type 'InboundGroupSessionData | null' is not assignable to type 'InboundGroupSessionData | undefined'.
|
|
Type 'null' is not assignable to type 'InboundGroupSessionData | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(338,44): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(o: {}): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type '{}'.
|
|
Overload 2 of 2, '(o: object): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'object'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(345,20): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(357,13): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(379,14): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(388,14): error TS2345: Argument of type 'Record<string, ICrossSigningKey> | null' is not assignable to parameter of type 'Record<string, ICrossSigningKey>'.
|
|
Type 'null' is not assignable to type 'Record<string, ICrossSigningKey>'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(413,27): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(415,60): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts(416,20): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/memory-crypto-store.ts(47,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/memory-crypto-store.ts(48,13): error TS2322: Type 'null' is not assignable to type 'Record<string, ICrossSigningKey>'.
|
|
node_modules/matrix-js-sdk/src/crypto/store/memory-crypto-store.ts(57,13): error TS2322: Type 'null' is not assignable to type 'IDeviceData'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(57,13): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(58,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(59,15): error TS2564: Property 'expectedEvent' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(60,13): error TS2564: Property 'resolve' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(61,13): error TS2564: Property 'reject' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(62,13): error TS2564: Property 'resolveEvent' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(63,13): error TS2564: Property 'rejectEvent' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(64,13): error TS2564: Property 'started' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(104,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(117,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(137,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(171,17): error TS2322: Type 'undefined' is not assignable to type '(e: Error) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(186,17): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(187,17): error TS2322: Type 'undefined' is not assignable to type '(e: Error) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(193,13): error TS2322: Type 'undefined' is not assignable to type '(e: Error | MatrixEvent) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(210,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(213,17): error TS2322: Type 'undefined' is not assignable to type '(e: Error) => void'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(220,20): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(293,13): error TS2322: Type '(e: Error) => void' is not assignable to type '(e: Error | MatrixEvent) => void'.
|
|
Types of parameters 'e' and 'e' are incompatible.
|
|
Type 'Error | MatrixEvent' is not assignable to type 'Error'.
|
|
Type 'MatrixEvent' is missing the following properties from type 'Error': name, message
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Base.ts(356,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/Error.ts(35,51): error TS2345: Argument of type 'Record<string, any> | undefined' is not assignable to parameter of type 'Record<string, any>'.
|
|
Type 'undefined' is not assignable to type 'Record<string, any>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/IllegalMethod.ts(46,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(52,12): error TS2564: Property 'reciprocateQREvent' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(66,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(99,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(104,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(109,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(183,76): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(189,13): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(195,13): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(201,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(219,47): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(264,72): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(287,29): error TS7006: Parameter 'b' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(291,28): error TS7006: Parameter 'i' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(296,28): error TS7006: Parameter 's' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(296,31): error TS7006: Parameter 'enc' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/QRCode.ts(301,34): error TS7006: Parameter 'b64' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(22,25): error TS7016: Could not find a declaration file for module 'another-json'. '/home/weeman/git/element/matrix-react-sdk/node_modules/another-json/another-json.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/another-json` if it exists or add a new declaration (.d.ts) file containing `declare module 'another-json';`
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(175,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IGeneratedSas'.
|
|
No index signature with a parameter of type 'string' was found on type 'IGeneratedSas'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(175,27): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ decimal: (sasBytes: number[]) => [number, number, number]; emoji: (sasBytes: number[]) => EmojiMapping[]; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ decimal: (sasBytes: number[]) => [number, number, number]; emoji: (sasBytes: number[]) => EmojiMapping[]; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(188,21): error TS7019: Rest parameter 'args' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(189,29): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'SAS'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(189,36): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "hkdf-hmac-sha256": string; "org.matrix.msc3783.hkdf-hmac-sha256": string; "hmac-sha256": string; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ "hkdf-hmac-sha256": string; "org.matrix.msc3783.hkdf-hmac-sha256": string; "hmac-sha256": string; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(250,13): error TS2564: Property 'waitingForAccept' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(251,12): error TS2564: Property 'ourSASPubKey' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(252,12): error TS2564: Property 'theirSASPubKey' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(253,12): error TS2564: Property 'sasEvent' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(256,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(260,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(369,30): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ "curve25519-hkdf-sha256": (sas: SAS, olmSAS: SAS, bytes: number) => Uint8Array; curve25519: (sas: SAS, olmSAS: SAS, bytes: number) => Uint8Array; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(445,30): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "curve25519-hkdf-sha256": (sas: SAS, olmSAS: SAS, bytes: number) => Uint8Array; curve25519: (sas: SAS, olmSAS: SAS, bytes: number) => Uint8Array; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ "curve25519-hkdf-sha256": (sas: SAS, olmSAS: SAS, bytes: number) => Uint8Array; curve25519: (sas: SAS, olmSAS: SAS, bytes: number) => Uint8Array; }'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(490,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/SAS.ts(499,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(40,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(50,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(54,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(59,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(63,82): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(66,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(106,57): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(112,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(191,13): error TS2322: Type 'undefined' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(198,13): error TS2322: Type 'undefined' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(214,17): error TS2322: Type 'undefined' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(239,9): error TS2322: Type 'IEventRelation | null' is not assignable to type 'IEventRelation | undefined'.
|
|
Type 'null' is not assignable to type 'IEventRelation | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(313,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(320,63): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(323,13): error TS2322: Type 'VerificationRequest<IVerificationChannel> | undefined' is not assignable to type 'VerificationRequest<IVerificationChannel>'.
|
|
Type 'undefined' is not assignable to type 'VerificationRequest<IVerificationChannel>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(328,27): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(332,27): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(346,59): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(350,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(355,51): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/InRoomChannel.ts(358,35): error TS2802: Type 'IterableIterator<VerificationRequest<IVerificationChannel>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(49,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(50,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(264,13): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(268,15): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(312,71): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(315,13): error TS2322: Type 'Request | undefined' is not assignable to type 'Request'.
|
|
Type 'undefined' is not assignable to type 'VerificationRequest<ToDeviceChannel>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(347,70): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/ToDeviceChannel.ts(350,35): error TS2802: Type 'IterableIterator<Request>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(98,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(103,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(108,13): error TS2322: Type 'null' is not assignable to type 'QRCodeData'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(111,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(114,13): error TS2564: Property '_phase' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(115,12): error TS2564: Property '_cancellingUserId' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(116,13): error TS2564: Property '_verifier' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(171,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(176,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(181,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(186,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(191,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(196,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(201,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(206,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(226,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(238,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(243,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(248,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(252,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(256,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(260,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(265,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(272,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(317,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(340,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(342,13): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(349,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(353,13): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(358,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(362,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(370,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(380,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(386,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(391,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(402,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(407,35): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(424,9): error TS2322: Type 'null' is not assignable to type 'ITargetDevice'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(438,62): error TS2345: Argument of type 'null' is not assignable to parameter of type 'MatrixEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(454,33): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(472,17): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(484,33): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(528,9): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(533,13): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(535,13): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(596,42): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(597,33): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(613,43): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(614,46): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(622,32): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(686,29): error TS2802: Type 'IterableIterator<MatrixEvent>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(691,29): error TS2802: Type 'IterableIterator<MatrixEvent>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(811,17): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(880,41): error TS2802: Type 'IterableIterator<[string, MatrixEvent]>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(892,9): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(893,9): error TS2322: Type 'null' is not assignable to type 'ITargetDevice'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(903,13): error TS2322: Type 'undefined' is not assignable to type 'VerificationBase<any, any>'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(905,60): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/crypto/verification/request/VerificationRequest.ts(944,9): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/event-mapper.ts(32,37): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/event-mapper.ts(38,13): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/event-mapper.ts(38,40): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/event-mapper.ts(41,14): error TS2454: Variable 'event' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/filter-component.ts(97,13): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/filter-component.ts(155,31): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ rooms: (v: string) => boolean; senders: (v: string) => boolean; types: (v: string) => boolean; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ rooms: (v: string) => boolean; senders: (v: string) => boolean; types: (v: string) => boolean; }'.
|
|
node_modules/matrix-js-sdk/src/filter-component.ts(157,48): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IFilterComponent'.
|
|
No index signature with a parameter of type 'string' was found on type 'IFilterComponent'.
|
|
node_modules/matrix-js-sdk/src/filter-component.ts(162,45): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IFilterComponent'.
|
|
No index signature with a parameter of type 'string' was found on type 'IFilterComponent'.
|
|
node_modules/matrix-js-sdk/src/filter.ts(37,14): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/filter.ts(38,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/filter.ts(40,22): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/filter.ts(42,5): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/filter.ts(107,13): error TS2564: Property 'roomFilter' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/filter.ts(108,13): error TS2564: Property 'roomTimelineFilter' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/filter.ts(117,9): error TS2322: Type 'string | undefined' is not assignable to type 'string | null'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(23,60): error TS7016: Could not find a declaration file for module 'content-type'. '/home/weeman/git/element/matrix-react-sdk/node_modules/content-type/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/content-type` if it exists or add a new declaration (.d.ts) file containing `declare module 'content-type';`
|
|
node_modules/matrix-js-sdk/src/http-api.ts(26,55): error TS7016: Could not find a declaration file for module 'request'. '/home/weeman/git/element/matrix-react-sdk/node_modules/request/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';`
|
|
node_modules/matrix-js-sdk/src/http-api.ts(238,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(368,13): error TS7034: Variable 'bodyParser' implicitly has type 'any' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(408,33): error TS7005: Variable 'bodyParser' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(409,40): error TS7005: Variable 'bodyParser' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(412,29): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(413,32): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error | undefined'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(425,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(426,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(441,69): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | boolean'.
|
|
Type 'undefined' is not assignable to type 'string | number | boolean'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(476,17): error TS2345: Argument of type 'Callback<any> | undefined' is not assignable to parameter of type 'Callback<any>'.
|
|
Type 'undefined' is not assignable to type 'Callback<any>'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(621,13): error TS2322: Type 'string | undefined' is not assignable to type 'string | string[]'.
|
|
Type 'undefined' is not assignable to type 'string | string[]'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(799,43): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(840,26): error TS2339: Property 'abort' does not exist on type 'IRequest'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(895,25): error TS2339: Property 'abort' does not exist on type 'IRequest'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(896,44): error TS2339: Property 'abort' does not exist on type 'IRequest'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(919,5): error TS2322: Type 'number | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(942,5): error TS2322: Type '(err: Error, response: XMLHttpRequest | IncomingMessage, body: string) => void' is not assignable to type 'RequestCallback'.
|
|
Types of parameters 'err' and 'err' are incompatible.
|
|
Type 'Error | undefined' is not assignable to type 'Error'.
|
|
Type 'undefined' is not assignable to type 'Error'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(1009,76): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(1019,9): error TS2339: Property 'httpStatus' does not exist on type 'Error'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(1077,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(1092,34): error TS2322: Type 'undefined' is not assignable to type 'Error'.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(1096,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/http-api.ts(1106,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/index.ts(17,26): error TS7016: Could not find a declaration file for module 'request'. '/home/weeman/git/element/matrix-react-sdk/node_modules/request/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';`
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(210,13): error TS2322: Type 'null' is not assignable to type 'IDeferred<IAuthData>'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(211,13): error TS2322: Type 'null' is not assignable to type 'IFlow'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(212,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(218,13): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(232,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(256,28): error TS2345: Argument of type '{ session: string; } | null' is not assignable to parameter of type 'IAuthData'.
|
|
Type 'null' is not assignable to type 'IAuthData'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(277,13): error TS2801: This condition will always return true since this 'Promise<void>' is always defined.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(312,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(332,9): error TS2322: Type 'Record<string, any> | undefined' is not assignable to type 'Record<string, any>'.
|
|
Type 'undefined' is not assignable to type 'Record<string, any>'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(389,13): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(403,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(431,21): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(461,13): error TS2322: Type 'null' is not assignable to type 'IDeferred<IAuthData>'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(464,32): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(466,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(466,46): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(477,18): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(478,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(485,18): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(485,39): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(485,64): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(486,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(487,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(488,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(490,25): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(495,17): error TS2322: Type 'null' is not assignable to type 'IDeferred<IAuthData>'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(516,21): error TS2322: Type 'null' is not assignable to type 'IDeferred<IAuthData>'.
|
|
node_modules/matrix-js-sdk/src/interactive-auth.ts(628,49): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/logger.ts(40,13): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
|
|
node_modules/matrix-js-sdk/src/logger.ts(41,26): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(28,15): error TS7016: Could not find a declaration file for module './errors'. '/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/errors.js' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(60,5): error TS7034: Variable 'requestInstance' implicitly has type 'any' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(68,25): error TS7006: Parameter 'r' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(77,12): error TS7005: Variable 'requestInstance' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(86,29): error TS7006: Parameter 'wrapper' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(87,25): error TS7005: Variable 'requestInstance' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(88,32): error TS7006: Parameter 'options' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(88,41): error TS7006: Parameter 'callback' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(101,39): error TS7006: Parameter 'fac' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(157,36): error TS7005: Variable 'requestInstance' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/matrix.ts(158,5): error TS2322: Type 'IStore | MemoryStore' is not assignable to type 'IStore | undefined'.
|
|
Type 'MemoryStore' is not assignable to type 'IStore'.
|
|
Types of property 'getAccountData' are incompatible.
|
|
Type '(eventType: string) => MatrixEvent | undefined' is not assignable to type '(eventType: string) => MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts(42,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts(53,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts(60,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts(64,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts(65,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089TreeSpace.ts(89,9): error TS2322: Type 'Room | null' is not assignable to type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089TreeSpace.ts(97,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089TreeSpace.ts(104,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/MSC3089TreeSpace.ts(285,53): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(55,13): error TS2564: Property '_beaconInfo' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(56,13): error TS2564: Property '_isLive' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(57,13): error TS2564: Property 'livenessWatchTimeout' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(65,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(68,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(72,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(76,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(80,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(81,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(84,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(88,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(92,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(96,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(105,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(105,54): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(176,51): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: BeaconEvent.LocationUpdate, locationState: BeaconLocationState): boolean', gave the following error.
|
|
Argument of type 'BeaconLocationState | undefined' is not assignable to parameter of type 'BeaconLocationState'.
|
|
Type 'undefined' is not assignable to type 'BeaconLocationState'.
|
|
Type 'undefined' is not assignable to type 'MLocationContent'.
|
|
Overload 2 of 2, '(event: BeaconEvent.LocationUpdate, locationState: BeaconLocationState): boolean', gave the following error.
|
|
Argument of type 'BeaconLocationState | undefined' is not assignable to parameter of type 'BeaconLocationState'.
|
|
Type 'undefined' is not assignable to type 'BeaconLocationState'.
|
|
node_modules/matrix-js-sdk/src/models/beacon.ts(182,47): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: BeaconEvent.LocationUpdate, locationState: BeaconLocationState): boolean', gave the following error.
|
|
Argument of type 'BeaconLocationState | undefined' is not assignable to parameter of type 'BeaconLocationState'.
|
|
Type 'undefined' is not assignable to type 'BeaconLocationState'.
|
|
Overload 2 of 2, '(event: BeaconEvent.LocationUpdate, locationState: BeaconLocationState): boolean', gave the following error.
|
|
Argument of type 'BeaconLocationState | undefined' is not assignable to parameter of type 'BeaconLocationState'.
|
|
Type 'undefined' is not assignable to type 'BeaconLocationState'.
|
|
node_modules/matrix-js-sdk/src/models/event-context.ts(86,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(145,73): error TS2345: Argument of type 'MatrixClient | undefined' is not assignable to parameter of type 'MatrixClient'.
|
|
Type 'undefined' is not assignable to type 'MatrixClient'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(213,9): error TS2322: Type 'EventTimeline | undefined' is not assignable to type 'EventTimeline'.
|
|
Type 'undefined' is not assignable to type 'EventTimeline'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(276,40): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(280,44): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: RoomEvent.TimelineReset, room: Room, eventTimelineSet: EventTimelineSet, resetAllTimelines: boolean): boolean', gave the following error.
|
|
Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
Overload 2 of 2, '(event: RoomEvent.TimelineReset, room: Room, eventTimelineSet: EventTimelineSet, resetAllTimelines: boolean): boolean', gave the following error.
|
|
Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(584,17): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(636,13): error TS2454: Variable 'timelineWasEmpty' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(682,65): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(698,13): error TS2454: Variable 'timelineWasEmpty' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(702,9): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(703,9): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(709,46): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: RoomEvent.Timeline, event: MatrixEvent, room: Room, toStartOfTimeline: boolean, removed: boolean, data: IRoomTimelineData): boolean', gave the following error.
|
|
Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
Overload 2 of 2, '(event: RoomEvent.Timeline, event: MatrixEvent, room: Room, toStartOfTimeline: boolean, removed: boolean, data: IRoomTimelineData): boolean', gave the following error.
|
|
Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(767,52): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: RoomEvent.Timeline, event: MatrixEvent, room: Room, toStartOfTimeline: boolean, removed: boolean, data: IRoomTimelineData): boolean', gave the following error.
|
|
Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
Overload 2 of 2, '(event: RoomEvent.Timeline, event: MatrixEvent, room: Room, toStartOfTimeline: boolean, removed: boolean, data: IRoomTimelineData): boolean', gave the following error.
|
|
Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(807,14): error TS2454: Variable 'idx1' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(807,36): error TS2454: Variable 'idx2' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(816,20): error TS2454: Variable 'idx1' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline-set.ts(816,27): error TS2454: Variable 'idx2' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(77,13): error TS2322: Type 'RoomMember | null' is not assignable to type 'RoomMember'.
|
|
Type 'null' is not assignable to type 'RoomMember'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(80,13): error TS2322: Type 'RoomMember | null' is not assignable to type 'RoomMember'.
|
|
Type 'null' is not assignable to type 'RoomMember'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(80,59): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(103,9): error TS2418: Type of computed property's value is 'null', which is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(104,9): error TS2418: Type of computed property's value is 'null', which is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(129,41): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(130,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(131,39): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(132,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(134,9): error TS2322: Type 'null' is not assignable to type 'EventTimeline | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(135,9): error TS2322: Type 'null' is not assignable to type 'EventTimeline | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(138,37): error TS2322: Type 'null' is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(138,48): error TS2322: Type 'null' is not assignable to type 'Promise<boolean>'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(230,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(238,9): error TS2322: Type 'Filter | undefined' is not assignable to type 'Filter'.
|
|
Type 'undefined' is not assignable to type 'Filter'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(329,13): error TS2322: Type 'EventTimeline | undefined' is not assignable to type 'EventTimeline'.
|
|
Type 'undefined' is not assignable to type 'EventTimeline'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(331,13): error TS2322: Type 'EventTimeline | undefined' is not assignable to type 'EventTimeline'.
|
|
Type 'undefined' is not assignable to type 'EventTimeline'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(363,33): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(396,46): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/event-timeline.ts(422,21): error TS2454: Variable 'timelineWasEmpty' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(203,13): error TS2322: Type 'null' is not assignable to type 'IActionsObject'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(204,13): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(205,13): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(224,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(229,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(239,13): error TS2322: Type 'null' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(244,13): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(255,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(261,13): error TS2322: Type 'null' is not assignable to type 'Thread'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(262,13): error TS2564: Property 'threadId' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(273,12): error TS2322: Type 'null' is not assignable to type 'RoomMember'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(274,12): error TS2322: Type 'null' is not assignable to type 'RoomMember'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(275,12): error TS2322: Type 'null' is not assignable to type 'EventStatus'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(276,12): error TS2322: Type 'null' is not assignable to type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(283,12): error TS2322: Type 'null' is not assignable to type 'VerificationRequest<IVerificationChannel>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(320,24): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<IEvent>'.
|
|
No index signature with a parameter of type 'string' was found on type 'Partial<IEvent>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(321,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<IEvent>'.
|
|
No index signature with a parameter of type 'string' was found on type 'Partial<IEvent>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(321,45): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<IEvent>'.
|
|
No index signature with a parameter of type 'string' was found on type 'Partial<IEvent>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(330,24): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IEventRelation'.
|
|
No index signature with a parameter of type 'string' was found on type 'IEventRelation'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(331,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IEventRelation'.
|
|
No index signature with a parameter of type 'string' was found on type 'IEventRelation'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(331,69): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IEventRelation'.
|
|
No index signature with a parameter of type 'string' was found on type 'IEventRelation'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(334,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(346,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(394,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(402,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(414,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(424,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(442,9): error TS2322: Type 'number | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(500,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(512,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(522,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(529,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(532,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(626,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(627,13): error TS2322: Type 'IContent | undefined' is not assignable to type 'Omit<IContent, "membership" | "m.relates_to" | "avatar_url" | "displayname">'.
|
|
Type 'undefined' is not assignable to type 'Omit<IContent, "membership" | "m.relates_to" | "avatar_url" | "displayname">'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(735,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(787,21): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(795,50): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(797,21): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(802,17): error TS2322: Type 'unknown' is not assignable to type 'Error'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(820,83): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(826,80): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(828,48): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(841,13): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(851,33): error TS2345: Argument of type 'null' is not assignable to parameter of type 'IActionsObject'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(854,61): error TS2454: Variable 'err' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(887,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(889,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1004,9): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1006,13): error TS2322: Type 'null' is not assignable to type 'IEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1036,41): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1079,9): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1083,9): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1097,24): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Partial<IEvent>'.
|
|
No index signature with a parameter of type 'string' was found on type 'Partial<IEvent>'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1103,13): error TS2322: Type 'null' is not assignable to type 'IClearEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1106,23): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "m.room.member": { membership: number; }; "m.room.create": { creator: number; }; "m.room.join_rules": { join_rule: number; }; "m.room.power_levels": { ban: number; events: number; events_default: number; ... 4 more ...; users_default: number; }; "m.room.aliases": { ...; }; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ "m.room.member": { membership: number; }; "m.room.create": { creator: number; }; "m.room.join_rules": { join_rule: number; }; "m.room.power_levels": { ban: number; events: number; events_default: number; ... 4 more ...; users_default: number; }; "m.room.aliases": { ...; }; }'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1193,13): error TS2322: Type 'IEvent | undefined' is not assignable to type 'object | null'.
|
|
Type 'undefined' is not assignable to type 'object | null'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1194,20): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1195,20): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1239,24): error TS2345: Argument of type 'null' is not assignable to parameter of type 'EventStatus'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1245,44): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1281,23): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1289,9): error TS2322: Type 'string | boolean | undefined' is not assignable to type 'boolean'.
|
|
Type 'undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1301,9): error TS2322: Type 'IEventRelation | undefined' is not assignable to type 'IEventRelation | null'.
|
|
Type 'undefined' is not assignable to type 'IEventRelation | null'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1324,13): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1388,13): error TS2322: Type 'Date | null' is not assignable to type 'Date | undefined'.
|
|
Type 'null' is not assignable to type 'Date | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/event.ts(1479,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'MatrixEvent'.
|
|
No index signature with a parameter of type 'string' was found on type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(61,39): error TS2802: Type 'IterableIterator<Map<string, Relations>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(80,44): error TS2802: Type 'IterableIterator<Map<string, Relations>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(121,52): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(124,32): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(127,58): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(130,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(136,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(143,63): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(144,40): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations-container.ts(145,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(50,13): error TS2322: Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(110,43): error TS2345: Argument of type 'MatrixEvent | null' is not assignable to parameter of type 'MatrixEvent | undefined'.
|
|
Type 'null' is not assignable to type 'MatrixEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(151,43): error TS2345: Argument of type 'MatrixEvent | null' is not assignable to parameter of type 'MatrixEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(188,20): error TS2802: Type 'Set<MatrixEvent>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(192,17): error TS2339: Property 'key' does not exist on type 'IEventRelation | null'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(221,17): error TS2339: Property 'key' does not exist on type 'IEventRelation | null'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(268,43): error TS2345: Argument of type 'MatrixEvent | null' is not assignable to parameter of type 'MatrixEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(338,60): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(callbackfn: (previousValue: MatrixEvent, currentValue: MatrixEvent, currentIndex: number, array: MatrixEvent[]) => MatrixEvent, initialValue: MatrixEvent): MatrixEvent', gave the following error.
|
|
Argument of type '(last: null, event: MatrixEvent) => MatrixEvent | null' is not assignable to parameter of type '(previousValue: MatrixEvent, currentValue: MatrixEvent, currentIndex: number, array: MatrixEvent[]) => MatrixEvent'.
|
|
Types of parameters 'last' and 'previousValue' are incompatible.
|
|
Type 'MatrixEvent' is not assignable to type 'null'.
|
|
Overload 2 of 3, '(callbackfn: (previousValue: null, currentValue: MatrixEvent, currentIndex: number, array: MatrixEvent[]) => null, initialValue: null): null', gave the following error.
|
|
Argument of type '(last: null, event: MatrixEvent) => MatrixEvent | null' is not assignable to parameter of type '(previousValue: null, currentValue: MatrixEvent, currentIndex: number, array: MatrixEvent[]) => null'.
|
|
Type 'MatrixEvent | null' is not assignable to type 'null'.
|
|
Type 'MatrixEvent' is not assignable to type 'null'.
|
|
node_modules/matrix-js-sdk/src/models/relations.ts(345,30): error TS2339: Property 'getTs' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(46,13): error TS2564: Property '_modified' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(47,12): error TS2564: Property '_requestedProfileInfo' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(55,12): error TS2322: Type 'null' is not assignable to type 'User | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(56,12): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(61,13): error TS2322: Type 'null' is not assignable to type 'MatrixEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(133,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(146,13): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(153,13): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(160,66): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(191,38): error TS2345: Argument of type '(lvl: number) => void' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => void'.
|
|
Types of parameters 'lvl' and 'value' are incompatible.
|
|
Type 'unknown' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(262,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(262,48): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(270,28): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(287,17): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(327,51): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-member.ts(340,13): error TS2322: Type 'string | undefined' is not assignable to type 'string | null'.
|
|
Type 'undefined' is not assignable to type 'string | null'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(85,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(91,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(93,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(94,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(95,13): error TS2564: Property 'modified' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(100,12): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(236,45): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(260,31): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(262,23): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(266,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(270,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(310,21): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(328,18): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(328,55): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(366,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(401,55): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(426,57): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: RoomStateEvent.Marker, event: MatrixEvent, setStateOptions: IMarkerFoundOptions): boolean', gave the following error.
|
|
Argument of type 'IMarkerFoundOptions | undefined' is not assignable to parameter of type 'IMarkerFoundOptions'.
|
|
Type 'undefined' is not assignable to type 'IMarkerFoundOptions'.
|
|
Overload 2 of 2, '(event: RoomStateEvent.Marker, event: MatrixEvent, setStateOptions: IMarkerFoundOptions): boolean', gave the following error.
|
|
Argument of type 'IMarkerFoundOptions | undefined' is not assignable to parameter of type 'IMarkerFoundOptions'.
|
|
Type 'undefined' is not assignable to type 'IMarkerFoundOptions'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(443,17): error TS2802: Type 'IterableIterator<Beacon>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(461,38): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(470,43): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(473,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(504,9): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(504,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(517,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(517,45): error TS7053: Element implicitly has an 'any' type because expression of type '"redacts"' can't be used to index type '{}'.
|
|
Property 'redacts' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(518,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(524,20): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(561,54): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(575,9): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(576,9): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(650,47): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(656,47): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(751,28): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(752,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(794,55): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(854,34): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/models/room-state.ts(855,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(245,13): error TS2322: Type 'null' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(246,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(247,13): error TS2322: Type 'null' is not assignable to type 'string[]'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(261,12): error TS2564: Property 'normalizedName' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(275,12): error TS2322: Type 'null' is not assignable to type 'RoomSummary'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(285,12): error TS2564: Property 'timeline' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(291,12): error TS2564: Property 'oldState' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(297,12): error TS2564: Property 'currentState' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(304,12): error TS2564: Property 'lastThread' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(396,49): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(405,13): error TS2322: Type 'null' is not assignable to type 'Promise<boolean> | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(410,47): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(441,58): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(453,24): error TS2550: Property 'allSettled' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(470,24): error TS2550: Property 'allSettled' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2020' or later.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(514,42): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(583,52): error TS2322: Type '{ version: string | null; needsUpgrade: boolean; urgent: boolean; }' is not assignable to type 'IRecommendedVersion'.
|
|
Types of property 'version' are incompatible.
|
|
Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(591,38): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(594,31): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(600,13): error TS2322: Type '{ version: string | null; needsUpgrade: boolean; urgent: boolean; }' is not assignable to type 'IRecommendedVersion'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(605,9): error TS2322: Type '{ version: string | null; needsUpgrade: boolean; urgent: boolean; }' is not assignable to type 'IRecommendedVersion'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(632,9): error TS2322: Type 'MatrixEvent[] | undefined' is not assignable to type 'MatrixEvent[]'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent[]'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(649,13): error TS2345: Argument of type 'MatrixEvent[] | undefined' is not assignable to parameter of type 'MatrixEvent[]'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent[]'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(672,16): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(686,9): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent | null'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent | null'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(686,16): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(726,28): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(772,39): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(775,13): error TS2322: Type 'undefined' is not assignable to type 'RoomMember'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(830,85): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | undefined'.
|
|
Type 'null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(882,13): error TS2322: Type 'null' is not assignable to type 'Promise<boolean> | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(891,33): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(922,13): error TS2322: Type 'null' is not assignable to type 'Promise<boolean> | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(999,13): error TS2322: Type 'EventTimeline | undefined' is not assignable to type 'EventTimeline'.
|
|
Type 'undefined' is not assignable to type 'EventTimeline'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1016,44): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1054,17): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1170,13): error TS2322: Type 'EventTimeline | null' is not assignable to type 'EventTimeline'.
|
|
Type 'null' is not assignable to type 'EventTimeline'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1401,92): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1408,9): error TS2322: Type 'Thread | undefined' is not assignable to type 'Thread'.
|
|
Type 'undefined' is not assignable to type 'Thread'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1545,39): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1546,46): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1555,39): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1582,17): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1589,37): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1605,35): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1616,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1616,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1616,73): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1655,64): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: MatrixEvent, { toStartOfTimeline, roomState, timelineWasEmpty, }: IAddEventOptions): void', gave the following error.
|
|
Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
Overload 2 of 2, '(event: MatrixEvent, toStartOfTimeline: boolean, roomState?: RoomState | undefined): void', gave the following error.
|
|
Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1698,24): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1698,72): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1712,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1727,13): error TS2454: Variable 'latestMyThreadsRootEvent' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1739,38): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1749,55): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1750,42): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1788,48): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1796,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1840,55): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1841,32): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1843,28): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1881,33): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1881,77): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1911,54): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1919,25): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1935,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(1986,51): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2068,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2072,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2085,56): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2096,25): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2111,60): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: RoomEvent.LocalEchoUpdated, event: MatrixEvent, room: Room, oldEventId?: string | undefined, oldStatus?: EventStatus | undefined): boolean', gave the following error.
|
|
Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
Overload 2 of 2, '(event: RoomEvent.LocalEchoUpdated, event: MatrixEvent, room: Room, oldEventId?: string | undefined, oldStatus?: EventStatus | undefined): boolean', gave the following error.
|
|
Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2185,32): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2197,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2238,55): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2243,56): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2244,37): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2249,38): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2251,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2254,38): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2255,43): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2279,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2282,43): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2283,60): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2290,69): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2298,21): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2299,51): error TS2345: Argument of type 'MatrixEvent | null' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'null' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2350,17): error TS2322: Type 'DuplicateStrategy | undefined' is not assignable to type 'DuplicateStrategy'.
|
|
Type 'undefined' is not assignable to type 'DuplicateStrategy'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2353,17): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2396,55): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2397,32): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2399,28): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2405,21): error TS2454: Variable 'timelineWasEmpty' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2432,37): error TS2345: Argument of type 'MatrixEvent' is not assignable to parameter of type 'never'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2436,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2437,39): error TS2345: Argument of type 'MatrixEvent' is not assignable to parameter of type 'never'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2458,33): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2521,37): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2639,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2639,37): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2720,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "m.read": { [userId: string]: IReceipt; }; "m.fully_read": { [userId: string]: IReceipt; }; "m.read.private": { [userId: string]: IReceipt; }; "org.matrix.msc2285.read.private": { ...; }; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ "m.read": { [userId: string]: IReceipt; }; "m.fully_read": { [userId: string]: IReceipt; }; "m.read.private": { [userId: string]: IReceipt; }; "org.matrix.msc2285.read.private": { ...; }; }'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2721,37): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "m.read": { [userId: string]: IReceipt; }; "m.fully_read": { [userId: string]: IReceipt; }; "m.read.private": { [userId: string]: IReceipt; }; "org.matrix.msc2285.read.private": { ...; }; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ "m.read": { [userId: string]: IReceipt; }; "m.fully_read": { [userId: string]: IReceipt; }; "m.read.private": { [userId: string]: IReceipt; }; "org.matrix.msc2285.read.private": { ...; }; }'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2727,63): error TS2322: Type 'null' is not assignable to type 'IWrappedReceipt'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2727,69): error TS2322: Type 'null' is not assignable to type 'IWrappedReceipt'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(2777,29): error TS2322: Type 'null' is not assignable to type 'IWrappedReceipt'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(3031,13): error TS2322: Type 'null' is not assignable to type 'string[]'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(3114,13): error TS2454: Variable 'oldName' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(3199,33): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(3200,75): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(3218,54): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/room.ts(3224,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/search-result.ts(46,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/search-result.ts(49,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(69,13): error TS2564: Property 'lastEvent' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(160,9): error TS2322: Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(195,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(245,36): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(251,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(252,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(268,9): error TS2322: Type 'IThreadBundledRelationship | undefined' is not assignable to type 'IThreadBundledRelationship'.
|
|
Type 'undefined' is not assignable to type 'IThreadBundledRelationship'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(280,13): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
Type 'undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(283,17): error TS2783: 'room_id' is specified more than once, so this usage will be overwritten.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(283,26): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(348,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(357,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(364,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(368,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(376,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(380,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/models/thread.ts(422,13): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(41,13): error TS2564: Property 'modified' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(47,12): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(56,13): error TS2322: Type 'null' is not assignable to type 'MatrixEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(57,13): error TS2322: Type 'null' is not assignable to type 'MatrixEvent | undefined'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(86,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(130,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(133,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(156,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/models/user.ts(172,13): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(125,28): error TS2339: Property 'value' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(200,9): error TS2322: Type 'null' is not assignable to type 'IAnnotatedPushRule'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(219,21): error TS2322: Type 'import("/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/@types/PushRules").ConditionKind' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(220,21): error TS2322: Type 'string' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(221,21): error TS2322: Type 'any' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(229,21): error TS2322: Type 'import("/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/@types/PushRules").ConditionKind' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(230,21): error TS2322: Type 'string' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(231,21): error TS2322: Type 'any' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(239,21): error TS2322: Type 'import("/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/@types/PushRules").ConditionKind' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(240,21): error TS2322: Type 'string' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(241,21): error TS2322: Type 'any' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(275,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(291,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(327,13): error TS2322: Type 'IContent | null' is not assignable to type 'IContent'.
|
|
Type 'null' is not assignable to type 'IContent'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(333,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(335,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(339,29): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(339,57): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(402,39): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(405,23): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(410,63): error TS7006: Parameter 'rulesets' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(412,13): error TS2322: Type 'null' is not assignable to type 'IAnnotatedPushRule'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(415,13): error TS2322: Type 'null' is not assignable to type 'IAnnotatedPushRule'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(421,61): error TS7006: Parameter 'rulesets' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(471,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IPushRules'.
|
|
No index signature with a parameter of type 'string' was found on type 'IPushRules'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(474,21): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IPushRules'.
|
|
No index signature with a parameter of type 'string' was found on type 'IPushRules'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(476,36): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IPushRules'.
|
|
No index signature with a parameter of type 'string' was found on type 'IPushRules'.
|
|
node_modules/matrix-js-sdk/src/pushprocessor.ts(481,9): error TS2322: Type 'null' is not assignable to type 'IPushRule'.
|
|
node_modules/matrix-js-sdk/src/realtime-callbacks.ts(151,43): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/realtime-callbacks.ts(163,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/realtime-callbacks.ts(163,35): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/realtime-callbacks.ts(166,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/scheduler.ts(73,13): error TS7053: Element implicitly has an 'any' type because expression of type '"cors"' can't be used to index type 'MatrixError'.
|
|
Property 'cors' does not exist on type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/scheduler.ts(119,13): error TS2322: Type 'null' is not assignable to type 'ProcessFunction<T>'.
|
|
node_modules/matrix-js-sdk/src/scheduler.ts(138,13): error TS2322: Type 'null' is not assignable to type 'MatrixEvent[]'.
|
|
node_modules/matrix-js-sdk/src/scheduler.ts(157,48): error TS2345: Argument of type '(element: IQueueEntry<T>) => true | undefined' is not assignable to parameter of type '(t: IQueueEntry<T>, i?: number | undefined, a?: IQueueEntry<T>[] | undefined) => boolean'.
|
|
Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
Type 'undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/scheduler.ts(273,13): error TS2322: Type 'null' is not assignable to type 'IQueueEntry<T>'.
|
|
node_modules/matrix-js-sdk/src/scheduler.ts(281,13): error TS2322: Type 'null' is not assignable to type 'IQueueEntry<T>'.
|
|
node_modules/matrix-js-sdk/src/scheduler.ts(283,9): error TS2322: Type 'IQueueEntry<T> | undefined' is not assignable to type 'IQueueEntry<T>'.
|
|
Type 'undefined' is not assignable to type 'IQueueEntry<T>'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(57,13): error TS2322: Type 'undefined' is not assignable to type 'object'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(66,13): error TS7053: Element implicitly has an 'any' type because expression of type '"device_lists"' can't be used to index type '{}'.
|
|
Property 'device_lists' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(69,16): error TS7053: Element implicitly has an 'any' type because expression of type '"device_lists"' can't be used to index type '{}'.
|
|
Property 'device_lists' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(73,13): error TS7053: Element implicitly has an 'any' type because expression of type '"device_one_time_keys_count"' can't be used to index type '{}'.
|
|
Property 'device_one_time_keys_count' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(74,34): error TS7053: Element implicitly has an 'any' type because expression of type '"device_one_time_keys_count"' can't be used to index type '{}'.
|
|
Property 'device_one_time_keys_count' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(77,13): error TS7053: Element implicitly has an 'any' type because expression of type '"device_unused_fallback_key_types"' can't be used to index type '{}'.
|
|
Property 'device_unused_fallback_key_types' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(78,17): error TS7053: Element implicitly has an 'any' type because expression of type '"org.matrix.msc2732.device_unused_fallback_key_types"' can't be used to index type '{}'.
|
|
Property 'org.matrix.msc2732.device_unused_fallback_key_types' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(82,40): error TS7053: Element implicitly has an 'any' type because expression of type '"device_unused_fallback_key_types"' can't be used to index type '{}'.
|
|
Property 'device_unused_fallback_key_types' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(83,17): error TS7053: Element implicitly has an 'any' type because expression of type '"org.matrix.msc2732.device_unused_fallback_key_types"' can't be used to index type '{}'.
|
|
Property 'org.matrix.msc2732.device_unused_fallback_key_types' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(93,13): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(110,13): error TS7053: Element implicitly has an 'any' type because expression of type '"limit"' can't be used to index type '{ since: string | undefined; }'.
|
|
Property 'limit' does not exist on type '{ since: string | undefined; }'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(111,13): error TS7053: Element implicitly has an 'any' type because expression of type '"enabled"' can't be used to index type '{ since: string | undefined; }'.
|
|
Property 'enabled' does not exist on type '{ since: string | undefined; }'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(117,15): error TS7034: Variable 'cancelledKeyVerificationTxns' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(118,9): error TS7053: Element implicitly has an 'any' type because expression of type '"events"' can't be used to index type '{}'.
|
|
Property 'events' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(118,26): error TS7053: Element implicitly has an 'any' type because expression of type '"events"' can't be used to index type '{}'.
|
|
Property 'events' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(119,9): error TS7053: Element implicitly has an 'any' type because expression of type '"events"' can't be used to index type '{}'.
|
|
Property 'events' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(121,19): error TS7006: Parameter 'toDeviceEvent' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(139,18): error TS7006: Parameter 'toDeviceEvent' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(156,29): error TS7005: Variable 'cancelledKeyVerificationTxns' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(165,26): error TS7053: Element implicitly has an 'any' type because expression of type '"next_batch"' can't be used to index type '{}'.
|
|
Property 'next_batch' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(182,13): error TS2322: Type 'undefined' is not assignable to type 'object'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(209,47): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(211,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(225,35): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(238,13): error TS2322: Type 'null' is not assignable to type 'SyncState'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(239,13): error TS2564: Property 'syncStateData' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(240,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(357,9): error TS2322: Type 'null' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(408,15): error TS7034: Variable 'ephemeralEvents' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(467,34): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(494,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(552,33): error TS7005: Variable 'ephemeralEvents' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(577,9): error TS7005: Variable 'ephemeralEvents' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(681,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(685,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(686,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(688,43): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(716,42): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(742,9): error TS2322: Type 'ISyncStateData | undefined' is not assignable to type 'ISyncStateData'.
|
|
Type 'undefined' is not assignable to type 'ISyncStateData'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(808,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts(820,9): error TS7053: Element implicitly has an 'any' type because expression of type '"room_id"' can't be used to index type 'IMinimalEvent | IRoomEvent | IStateEvent | IStrippedState'.
|
|
Property 'room_id' does not exist on type 'IMinimalEvent | IRoomEvent | IStateEvent | IStrippedState'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(155,13): error TS2564: Property 'list' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(156,13): error TS2564: Property 'isModified' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(159,12): error TS2564: Property 'roomIndexToRoomId' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(160,12): error TS2564: Property 'joinedCount' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(278,5): error TS7010: 'onResponse', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(342,13): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(388,13): error TS2322: Type 'null' is not assignable to type '{ joinedCount: number; roomIndexToRoomId: Record<number, string>; }'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(404,13): error TS2322: Type 'null' is not assignable to type 'MSC3575List'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(493,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(501,53): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(509,53): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(532,60): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: SlidingSyncEvent.Lifecycle, state: SlidingSyncState, resp: MSC3575SlidingSyncResponse, err: Error): boolean', gave the following error.
|
|
Argument of type 'Error | undefined' is not assignable to parameter of type 'Error'.
|
|
Type 'undefined' is not assignable to type 'Error'.
|
|
Overload 2 of 2, '(event: SlidingSyncEvent.Lifecycle, state: SlidingSyncState, resp: MSC3575SlidingSyncResponse, err: Error): boolean', gave the following error.
|
|
Argument of type 'Error | undefined' is not assignable to parameter of type 'Error'.
|
|
Type 'undefined' is not assignable to type 'Error'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(758,26): error TS2454: Variable 'currentPos' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(761,58): error TS2454: Variable 'currentPos' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(771,42): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(777,21): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(784,38): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(787,38): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(813,21): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(816,25): error TS2345: Argument of type 'null' is not assignable to parameter of type 'MSC3575SlidingSyncResponse'.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(830,18): error TS2454: Variable 'resp' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/sliding-sync.ts(868,24): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts(132,13): error TS2322: Type 'null' is not assignable to type 'IDBDatabase'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts(330,38): error TS7053: Element implicitly has an 'any' type because expression of type '1' can't be used to index type 'IDBValidKey'.
|
|
Property '1' does not exist on type 'IDBValidKey'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts(333,38): error TS7053: Element implicitly has an 'any' type because expression of type '1' can't be used to index type 'IDBValidKey'.
|
|
Property '1' does not exist on type 'IDBValidKey'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts(391,30): error TS2322: Type 'Promise<null>' is not assignable to type 'Promise<ISavedSync>'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts(582,18): error TS2416: Property 'getOldestToDeviceBatch' in type 'LocalIndexedDBStoreBackend' is not assignable to the same property in base type 'IIndexedDBBackend'.
|
|
Type '() => Promise<IndexedToDeviceBatch | null>' is not assignable to type '() => Promise<IndexedToDeviceBatch>'.
|
|
Type 'Promise<IndexedToDeviceBatch | null>' is not assignable to type 'Promise<IndexedToDeviceBatch>'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb-remote-backend.ts(26,13): error TS2564: Property 'worker' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb-remote-backend.ts(32,13): error TS2322: Type 'null' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb.ts(119,80): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb.ts(121,13): error TS2322: Type 'LocalIndexedDBStoreBackend' is not assignable to type 'IIndexedDBBackend'.
|
|
Types of property 'getOldestToDeviceBatch' are incompatible.
|
|
Type '() => Promise<IndexedToDeviceBatch | null>' is not assignable to type '() => Promise<IndexedToDeviceBatch>'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb.ts(121,75): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb.ts(297,34): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/store/indexeddb.ts(304,47): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: "degraded", e: Error): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
Overload 2 of 2, '(event: "degraded", e: Error): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(58,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(72,9): error TS2322: Type 'Storage | undefined' is not assignable to type 'Storage'.
|
|
Type 'undefined' is not assignable to type 'Storage'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(107,31): error TS2345: Argument of type 'null' is not assignable to parameter of type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(130,21): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(135,31): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(236,37): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(269,33): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(312,12): error TS2416: Property 'getAccountData' in type 'MemoryStore' is not assignable to the same property in base type 'IStore'.
|
|
Type '(eventType: string) => MatrixEvent | undefined' is not assignable to type '(eventType: string) => MatrixEvent'.
|
|
Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(356,9): error TS2322: Type 'Promise<null>' is not assignable to type 'Promise<ISavedSync>'.
|
|
Type 'null' is not assignable to type 'ISavedSync'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(378,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/memory.ts(448,18): error TS2416: Property 'getOldestToDeviceBatch' in type 'MemoryStore' is not assignable to the same property in base type 'IStore'.
|
|
Type '() => Promise<IndexedToDeviceBatch | null>' is not assignable to type '() => Promise<IndexedToDeviceBatch>'.
|
|
Type 'Promise<IndexedToDeviceBatch | null>' is not assignable to type 'Promise<IndexedToDeviceBatch>'.
|
|
Type 'IndexedToDeviceBatch | null' is not assignable to type 'IndexedToDeviceBatch'.
|
|
Type 'null' is not assignable to type 'IndexedToDeviceBatch'.
|
|
node_modules/matrix-js-sdk/src/store/stub.ts(39,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/store/stub.ts(185,12): error TS2416: Property 'getAccountData' in type 'StubStore' is not assignable to the same property in base type 'IStore'.
|
|
Type '(eventType: string) => MatrixEvent | undefined' is not assignable to type '(eventType: string) => MatrixEvent'.
|
|
Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/store/stub.ts(227,9): error TS2322: Type 'Promise<null>' is not assignable to type 'Promise<ISavedSync>'.
|
|
node_modules/matrix-js-sdk/src/store/stub.ts(248,9): error TS2322: Type 'Promise<null>' is not assignable to type 'Promise<IStateEventWithRoomId[]>'.
|
|
Type 'null' is not assignable to type 'IStateEventWithRoomId[]'.
|
|
node_modules/matrix-js-sdk/src/store/stub.ts(279,12): error TS2416: Property 'getOldestToDeviceBatch' in type 'StubStore' is not assignable to the same property in base type 'IStore'.
|
|
Type '() => Promise<IndexedToDeviceBatch | null>' is not assignable to type '() => Promise<IndexedToDeviceBatch>'.
|
|
Type 'Promise<IndexedToDeviceBatch | null>' is not assignable to type 'Promise<IndexedToDeviceBatch>'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(190,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(423,37): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(o: {}): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type '{}'.
|
|
Overload 2 of 2, '(o: object): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'object'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(478,44): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(480,48): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(544,51): error TS2345: Argument of type 'IMinimalEvent' is not assignable to parameter of type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(557,22): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(558,21): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(560,22): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(561,21): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(563,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(569,48): error TS2345: Argument of type '{ type: string; room_id: string; content: {}; }' is not assignable to parameter of type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(580,21): error TS2322: Type 'string' is not assignable to type 'null'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(584,37): error TS7053: Element implicitly has an 'any' type because expression of type '"_localTs"' can't be used to index type 'IRoomEvent | IStateEvent'.
|
|
Property '_localTs' does not exist on type 'IRoomEvent | IStateEvent'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(599,66): error TS7053: Element implicitly has an 'any' type because expression of type '"_localTs"' can't be used to index type 'IRoomEvent | IStateEvent'.
|
|
Property '_localTs' does not exist on type 'IRoomEvent | IStateEvent'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(603,47): error TS2345: Argument of type '(IRoomEvent | IStateEvent) & { _localTs?: number | undefined; }' is not assignable to parameter of type 'never'.
|
|
Type 'IRoomEvent & { _localTs?: number | undefined; }' is not assignable to type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(612,35): error TS2339: Property 'state_key' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(613,39): error TS2339: Property 'state_key' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(620,36): error TS2339: Property 'unsigned' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(621,40): error TS2339: Property 'unsigned' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(622,40): error TS2339: Property 'content' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(622,65): error TS2339: Property 'unsigned' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(624,40): error TS2339: Property 'unsigned' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(625,40): error TS2339: Property 'sender' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(625,64): error TS2339: Property 'unsigned' does not exist on type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(637,48): error TS2345: Argument of type 'IStateEvent' is not assignable to parameter of type 'never'.
|
|
node_modules/matrix-js-sdk/src/sync-accumulator.ts(640,13): error TS2322: Type '{ ephemeral: { events: never[]; }; account_data: { events: never[]; }; state: { events: never[]; }; timeline: { events: never[]; prev_batch: null; }; unread_notifications: Partial<IUnreadNotificationCounts>; summary: IRoomSummary; }' is not assignable to type 'IJoinedRoom'.
|
|
The types of 'timeline.prev_batch' are incompatible between these types.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(36,35): error TS7016: Could not find a declaration file for module './errors'. '/home/weeman/git/element/matrix-react-sdk/node_modules/matrix-js-sdk/src/errors.js' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/sync.ts(108,19): error TS7019: Rest parameter 'params' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/sync.ts(242,44): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(286,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(290,32): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(296,27): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(300,17): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<ISyncResponse>'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(303,17): error TS7034: Variable 'leaveRooms' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/sync.ts(307,32): error TS7005: Variable 'leaveRooms' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/sync.ts(355,9): error TS2322: Type 'Promise<Room | null | undefined>' is not assignable to type 'Promise<Room>'.
|
|
Type 'Room | null | undefined' is not assignable to type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(389,17): error TS2533: Object is possibly 'null' or 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(393,13): error TS2533: Object is possibly 'null' or 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(394,13): error TS2533: Object is possibly 'null' or 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(396,33): error TS2345: Argument of type 'Optional<Room>' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(397,13): error TS2533: Object is possibly 'null' or 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(402,13): error TS2533: Object is possibly 'null' or 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(403,17): error TS2533: Object is possibly 'null' or 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(406,36): error TS2345: Argument of type 'Optional<Room>' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(407,43): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: ClientEvent.Room, room: Room): boolean', gave the following error.
|
|
Argument of type 'Optional<Room>' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
Overload 2 of 2, '(event: ClientEvent.Room, room: Room): boolean', gave the following error.
|
|
Argument of type 'Optional<Room>' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(409,27): error TS2345: Argument of type 'Optional<Room>' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(434,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<IEventsResponse>'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(489,9): error TS2322: Type 'Optional<SyncState>' is not assignable to type 'SyncState'.
|
|
Type 'undefined' is not assignable to type 'SyncState'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(501,9): error TS2322: Type 'Optional<ISyncStateData>' is not assignable to type 'ISyncStateData'.
|
|
Type 'undefined' is not assignable to type 'ISyncStateData'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(545,28): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
|
|
node_modules/matrix-js-sdk/src/sync.ts(554,38): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(558,75): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(564,27): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(629,74): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(632,38): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(636,75): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(642,13): error TS2564: Property 'savedSyncPromise' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/sync.ts(707,48): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(714,87): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(810,79): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(812,17): error TS2322: Type 'ISyncResponse | undefined' is not assignable to type 'ISyncResponse'.
|
|
Type 'undefined' is not assignable to type 'ISyncResponse'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(814,54): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'MatrixError'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(842,58): error TS2345: Argument of type '{ oldSyncToken: string | null; nextSyncToken: string; catchingUp: boolean; }' is not assignable to parameter of type 'ISyncStateData'.
|
|
Types of property 'oldSyncToken' are incompatible.
|
|
Type 'string | null' is not assignable to type 'string | undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(846,48): error TS2345: Argument of type '{ oldSyncToken: string | null; nextSyncToken: string; catchingUp: boolean; }' is not assignable to parameter of type 'ISyncStateData'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(853,67): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: ClientEvent.SyncUnexpectedError, error: Error): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
Overload 2 of 2, '(event: ClientEvent.SyncUnexpectedError, error: Error): boolean', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(861,58): error TS2345: Argument of type '{ oldSyncToken: string | null; nextSyncToken: string; catchingUp: boolean; }' is not assignable to parameter of type 'ISyncStateData'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(868,56): error TS2345: Argument of type '{ oldSyncToken: string | null; nextSyncToken: string; catchingUp: boolean; }' is not assignable to parameter of type 'ISyncStateData'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(872,53): error TS2345: Argument of type '{ oldSyncToken: string | null; nextSyncToken: string; catchingUp: boolean; }' is not assignable to parameter of type 'ISyncStateData'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(902,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<ISyncResponse>'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(933,13): error TS2322: Type 'number | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1069,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1087,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1101,39): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1109,54): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1110,19): error TS7034: Variable 'cancelledKeyVerificationTxns' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1111,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1148,33): error TS7005: Variable 'cancelledKeyVerificationTxns' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1218,21): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1225,35): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1228,25): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1280,25): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1280,25): error TS2345: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string | null'.
|
|
Type 'undefined' is not assignable to type 'string | null'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1314,45): error TS7006: Parameter 'e' implicitly has an 'any' type.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1396,14): error TS7053: Element implicitly has an 'any' type because expression of type '"device_unused_fallback_key_types"' can't be used to index type 'ISyncResponse'.
|
|
Property 'device_unused_fallback_key_types' does not exist on type 'ISyncResponse'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1397,17): error TS7053: Element implicitly has an 'any' type because expression of type '"org.matrix.msc2732.device_unused_fallback_key_types"' can't be used to index type 'ISyncResponse'.
|
|
Property 'org.matrix.msc2732.device_unused_fallback_key_types' does not exist on type 'ISyncResponse'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1401,40): error TS7053: Element implicitly has an 'any' type because expression of type '"device_unused_fallback_key_types"' can't be used to index type 'ISyncResponse'.
|
|
Property 'device_unused_fallback_key_types' does not exist on type 'ISyncResponse'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1402,17): error TS7053: Element implicitly has an 'any' type because expression of type '"org.matrix.msc2732.device_unused_fallback_key_types"' can't be used to index type 'ISyncResponse'.
|
|
Property 'org.matrix.msc2732.device_unused_fallback_key_types' does not exist on type 'ISyncResponse'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1426,13): error TS2322: Type 'number' is not assignable to type 'Optional<Timeout>'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1447,26): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(timeoutId: string | number | Timeout | undefined): void', gave the following error.
|
|
Argument of type 'Optional<Timeout>' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
|
|
Argument of type 'Optional<Timeout>' is not assignable to parameter of type 'number | undefined'.
|
|
Type 'null' is not assignable to type 'number | undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1455,13): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Callback<unknown>'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1532,17): error TS7053: Element implicitly has an 'any' type because expression of type '"room_id"' can't be used to index type 'IMinimalEvent | IRoomEvent | IStateEvent | IStrippedState'.
|
|
Property 'room_id' does not exist on type 'IMinimalEvent | IRoomEvent | IStateEvent | IStrippedState'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1567,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1571,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1572,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1574,43): error TS2345: Argument of type 'MatrixEvent | undefined' is not assignable to parameter of type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1698,60): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(event: ClientEvent.Sync, state: SyncState, lastState?: SyncState | undefined, data?: ISyncStateData | undefined): boolean', gave the following error.
|
|
Argument of type 'Optional<SyncState>' is not assignable to parameter of type 'SyncState | undefined'.
|
|
Type 'null' is not assignable to type 'SyncState | undefined'.
|
|
Overload 2 of 2, '(event: ClientEvent.Sync, state: SyncState, lastState?: SyncState | undefined, data?: ISyncStateData | undefined): boolean', gave the following error.
|
|
Argument of type 'Optional<SyncState>' is not assignable to parameter of type 'SyncState | undefined'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1730,43): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/sync.ts(1760,9): error TS2322: Type 'User | null' is not assignable to type 'User | undefined'.
|
|
Type 'null' is not assignable to type 'User | undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(52,13): error TS2322: Type 'null' is not assignable to type 'TimelineIndex | undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(53,13): error TS2322: Type 'null' is not assignable to type 'TimelineIndex | undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(138,88): error TS2345: Argument of type '(timeline: EventTimeline) => void' is not assignable to parameter of type '(value: EventTimeline | undefined) => void | PromiseLike<void>'.
|
|
Types of parameters 'timeline' and 'value' are incompatible.
|
|
Type 'EventTimeline | undefined' is not assignable to type 'EventTimeline'.
|
|
Type 'undefined' is not assignable to type 'EventTimeline'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(158,13): error TS2322: Type 'TimelineIndex | undefined' is not assignable to type 'TimelineIndex'.
|
|
Type 'undefined' is not assignable to type 'TimelineIndex'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(160,13): error TS2322: Type 'TimelineIndex | undefined' is not assignable to type 'TimelineIndex'.
|
|
Type 'undefined' is not assignable to type 'TimelineIndex'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(302,13): error TS2322: Type 'null' is not assignable to type 'Promise<boolean> | undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(345,45): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(345,65): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(393,30): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(394,28): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/timeline-window.ts(402,30): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/utils.ts(52,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/utils.ts(86,23): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/utils.ts(361,9): error TS2322: Type 'false | [RegExp, (_match: string, neg: string, pat: string) => string]' is not assignable to type '[RegExp, string | ((substring: string, ...args: any[]) => string)]'.
|
|
Type 'boolean' is not assignable to type '[RegExp, string | ((substring: string, ...args: any[]) => string)]'.
|
|
node_modules/matrix-js-sdk/src/utils.ts(413,14): error TS2322: Type 'undefined' is not assignable to type '(value: T | Promise<T>) => void'.
|
|
node_modules/matrix-js-sdk/src/utils.ts(413,23): error TS2322: Type 'undefined' is not assignable to type '(reason?: any) => void'.
|
|
node_modules/matrix-js-sdk/src/utils.ts(566,44): error TS2791: Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later.
|
|
node_modules/matrix-js-sdk/src/utils.ts(658,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'.
|
|
node_modules/matrix-js-sdk/src/utils.ts(659,31): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'.
|
|
node_modules/matrix-js-sdk/src/utils.ts(663,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'Object'.
|
|
No index signature with a parameter of type 'string' was found on type 'Object'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(274,12): error TS2564: Property 'hangupParty' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(275,12): error TS2564: Property 'hangupReason' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(276,12): error TS2564: Property 'direction' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(288,13): error TS2564: Property 'peerConn' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(293,13): error TS2564: Property 'waitForLocalAVStream' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(294,13): error TS2564: Property 'successor' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(295,13): error TS2564: Property 'opponentMember' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(296,13): error TS2564: Property 'opponentVersion' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(299,13): error TS2564: Property 'opponentPartyId' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(300,13): error TS2564: Property 'opponentCaps' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(301,13): error TS2564: Property 'inviteTimeout' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(310,13): error TS2564: Property 'callStatsAtEnd' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(314,13): error TS2564: Property 'ignoreOffer' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(321,13): error TS2564: Property 'remoteAssertedIdentity' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(323,13): error TS2564: Property 'remoteSDPStreamMetadata' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(325,13): error TS2564: Property 'callLengthInterval' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(330,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(332,9): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(333,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(391,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(397,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(401,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(410,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(414,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(423,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(424,9): error TS2322: Type 'CallFeed | undefined' is not assignable to type 'CallFeed'.
|
|
Type 'undefined' is not assignable to type 'CallFeed'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(427,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(428,9): error TS2322: Type 'CallFeed | undefined' is not assignable to type 'CallFeed'.
|
|
Type 'undefined' is not assignable to type 'CallFeed'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(431,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(435,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(439,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(440,9): error TS2322: Type 'CallFeed | undefined' is not assignable to type 'CallFeed'.
|
|
Type 'undefined' is not assignable to type 'CallFeed'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(443,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(444,9): error TS2322: Type 'CallFeed | undefined' is not assignable to type 'CallFeed'.
|
|
Type 'undefined' is not assignable to type 'CallFeed'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(447,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(451,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(456,9): error TS2322: Type 'CallFeed | undefined' is not assignable to type 'CallFeed'.
|
|
Type 'undefined' is not assignable to type 'CallFeed'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(602,17): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(701,29): error TS2322: Type 'undefined' is not assignable to type 'any[]'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(704,15): error TS7034: Variable 'stats' implicitly has type 'any[]' in some locations where its type cannot be determined.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(709,16): error TS7005: Variable 'stats' implicitly has an 'any[]' type.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(804,13): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(806,9): error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(835,21): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(857,45): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(905,13): error TS7053: Element implicitly has an 'any' type because expression of type '"reason"' can't be used to index type '{}'.
|
|
Property 'reason' does not exist on type '{}'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(956,91): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1001,91): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1032,91): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1041,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1041,37): error TS2345: Argument of type 'MediaStreamTrack | undefined' is not assignable to parameter of type 'MediaStreamTrack | null'.
|
|
Type 'undefined' is not assignable to type 'MediaStreamTrack | null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1057,13): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1057,33): error TS2345: Argument of type 'MediaStreamTrack | undefined' is not assignable to parameter of type 'MediaStreamTrack | null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1137,53): error TS2345: Argument of type 'null' is not assignable to parameter of type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1169,60): error TS2345: Argument of type 'null' is not assignable to parameter of type 'boolean'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1223,67): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1237,17): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1281,22): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1284,23): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1308,44): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1312,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1316,69): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1367,72): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1374,38): error TS2322: Type 'undefined' is not assignable to type 'Promise<void>'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1422,71): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1424,44): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1645,13): error TS2322: Type 'RTCSessionDescription | null' is not assignable to type 'RTCSessionDescription'.
|
|
Type 'null' is not assignable to type 'RTCSessionDescription'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1647,13): error TS2322: Type 'RTCSessionDescription | null' is not assignable to type 'RTCSessionDescription'.
|
|
Type 'null' is not assignable to type 'RTCSessionDescription'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1666,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1666,61): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1674,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1679,69): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1692,17): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1799,28): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1800,28): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1837,38): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1965,68): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1982,15): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1987,21): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(1997,15): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2007,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2011,13): error TS2322: Type 'null' is not assignable to type 'Timeout'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2075,17): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2075,61): error TS2571: Object is of type 'unknown'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2089,73): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2126,17): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2134,37): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2205,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2210,13): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2222,9): error TS2322: Type 'null' is not assignable to type 'Map<string, RTCIceCandidate[]>'.
|
|
node_modules/matrix-js-sdk/src/webrtc/call.ts(2247,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(160,45): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(162,13): error TS2322: Type 'MatrixCall | null' is not assignable to type 'MatrixCall | undefined'.
|
|
Type 'null' is not assignable to type 'MatrixCall | undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(164,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(184,34): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(191,36): error TS2802: Type 'IterableIterator<MatrixCall>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(206,17): error TS2454: Variable 'existingCall' is used before being assigned.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(241,17): error TS2532: Object is possibly 'undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(253,17): error TS2322: Type 'MatrixCall | null' is not assignable to type 'MatrixCall | undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts(253,57): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(57,12): error TS2564: Property 'stream' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(67,13): error TS2564: Property 'audioContext' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(68,13): error TS2564: Property 'analyser' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(69,13): error TS2564: Property 'frequencyBinCount' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(72,13): error TS2564: Property 'volumeLooperTimeout' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(85,27): error TS2345: Argument of type 'null' is not assignable to parameter of type 'MediaStream'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(92,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(118,60): error TS2339: Property 'webkitAudioContext' does not exist on type 'Window & typeof globalThis'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(143,9): error TS2322: Type 'RoomMember | null' is not assignable to type 'RoomMember'.
|
|
Type 'null' is not assignable to type 'RoomMember'.
|
|
node_modules/matrix-js-sdk/src/webrtc/callFeed.ts(143,16): error TS2531: Object is possibly 'null'.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(25,13): error TS2564: Property 'audioInput' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(26,13): error TS2564: Property 'videoInput' has no initializer and is not definitely assigned in the constructor.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(68,28): error TS2802: Type 'IterableIterator<MatrixCall>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(75,28): error TS2802: Type 'IterableIterator<MatrixCall>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(78,21): error TS2339: Property 'audio' does not exist on type '{ audio: boolean; video: boolean; } | undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(78,28): error TS2339: Property 'video' does not exist on type '{ audio: boolean; video: boolean; } | undefined'.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(124,21): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(126,21): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(250,38): error TS2339: Property 'webkitGetUserMedia' does not exist on type 'Navigator'.
|
|
node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts(273,73): error TS2304: Cannot find name 'DesktopCapturerConstraints'.
|
|
node_modules/typescript/lib/lib.dom.d.ts(4306,11): error TS2430: Interface 'Document' incorrectly extends interface 'FontFaceSource'.
|
|
The types of 'fonts.onloading' are incompatible between these types.
|
|
Type '((this: FontFaceSet, event: Event) => any) | null' is not assignable to type '((this: FontFaceSet, ev: Event) => any) | null'.
|
|
Type '(this: FontFaceSet, event: Event) => any' is not assignable to type '(this: FontFaceSet, ev: Event) => any'.
|
|
The 'this' types of each signature are incompatible.
|
|
Type 'FontFaceSet' is missing the following properties from type 'FontFaceSet': add, clear, delete, has, and 6 more.
|
|
src/@types/common.ts(17,8): error TS1259: Module '"/home/weeman/git/element/matrix-react-sdk/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/BasePlatform.ts(31,46): error TS6142: Module './toasts/UpdateToast' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/toasts/UpdateToast.tsx', but '--jsx' is not set.
|
|
src/BasePlatform.ts(132,54): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/BasePlatform.ts(203,24): error TS7053: Element implicitly has an 'any' type because expression of type '"icon"' can't be used to index type '{ body: string; silent: boolean; }'.
|
|
Property 'icon' does not exist on type '{ body: string; silent: boolean; }'.
|
|
src/BasePlatform.ts(213,17): error TS2532: Object is possibly 'undefined'.
|
|
src/BasePlatform.ts(214,36): error TS2532: Object is possibly 'undefined'.
|
|
src/BasePlatform.ts(258,9): error TS2322: Type 'undefined' is not assignable to type 'Promise<any>'.
|
|
src/BasePlatform.ts(280,9): error TS2322: Type 'null' is not assignable to type 'boolean'.
|
|
src/BasePlatform.ts(289,53): error TS2304: Cannot find name 'GetSourcesOptions'.
|
|
src/BasePlatform.ts(289,87): error TS2304: Cannot find name 'DesktopCapturerSource'.
|
|
src/DeviceListener.ts(47,13): error TS2564: Property 'dispatcherRef' has no initializer and is not definitely assigned in the constructor.
|
|
src/DeviceListener.ts(53,13): error TS2322: Type 'null' is not assignable to type 'object'.
|
|
src/DeviceListener.ts(54,13): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
src/DeviceListener.ts(59,13): error TS2322: Type 'null' is not assignable to type 'Set<string>'.
|
|
src/DeviceListener.ts(65,21): error TS2339: Property 'mxDeviceListener' does not exist on type 'Window & typeof globalThis'.
|
|
src/DeviceListener.ts(65,46): error TS2339: Property 'mxDeviceListener' does not exist on type 'Window & typeof globalThis'.
|
|
src/DeviceListener.ts(66,23): error TS2339: Property 'mxDeviceListener' does not exist on type 'Window & typeof globalThis'.
|
|
src/DeviceListener.ts(100,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(104,9): error TS2322: Type 'null' is not assignable to type 'object'.
|
|
src/DeviceListener.ts(105,9): error TS2322: Type 'null' is not assignable to type 'number'.
|
|
src/DeviceListener.ts(107,9): error TS2322: Type 'null' is not assignable to type 'Set<string>'.
|
|
src/DeviceListener.ts(118,25): error TS2802: Type 'Iterable<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/DeviceListener.ts(134,45): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(146,28): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(153,29): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(210,13): error TS2322: Type 'IKeyBackupInfo | null' is not assignable to type 'object'.
|
|
Type 'null' is not assignable to type 'object'.
|
|
src/DeviceListener.ts(247,37): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(252,50): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(292,57): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(296,64): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/DeviceListener.ts(319,32): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/DeviceListener.ts(324,32): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/MatrixClientPeg.ts(33,19): error TS6142: Module './Modal' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/Modal.tsx', but '--jsx' is not set.
|
|
src/MatrixClientPeg.ts(36,32): error TS6142: Module './IdentityAuthClient' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/IdentityAuthClient.tsx', but '--jsx' is not set.
|
|
src/MatrixClientPeg.ts(39,37): error TS6142: Module './components/views/dialogs/CryptoStoreTooNewDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/CryptoStoreTooNewDialog.tsx', but '--jsx' is not set.
|
|
src/MatrixClientPeg.ts(40,20): error TS6142: Module './languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/MatrixClientPeg.ts(132,13): error TS2322: Type 'null' is not assignable to type 'MatrixClient'.
|
|
src/MatrixClientPeg.ts(137,13): error TS2564: Property 'currentClientCreds' has no initializer and is not definitely assigned in the constructor.
|
|
src/MatrixClientPeg.ts(144,9): error TS2322: Type 'null' is not assignable to type 'MatrixClient'.
|
|
src/MatrixClientPeg.ts(170,47): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/MatrixClientPeg.ts(180,47): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/MatrixClientPeg.ts(202,21): error TS2322: Type 'MemoryStore' is not assignable to type 'IStore'.
|
|
src/MatrixClientPeg.ts(224,22): error TS2571: Object is of type 'unknown'.
|
|
src/MatrixClientPeg.ts(259,13): error TS2322: Type 'null' is not assignable to type 'IMatrixClientCreds'.
|
|
src/MatrixClientPeg.ts(267,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/MatrixClientPeg.ts(269,13): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/MatrixClientPeg.ts(275,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/MatrixClientPeg.ts(399,13): error TS2339: Property 'mxMatrixClientPeg' does not exist on type 'Window & typeof globalThis'.
|
|
src/MatrixClientPeg.ts(400,12): error TS2339: Property 'mxMatrixClientPeg' does not exist on type 'Window & typeof globalThis'.
|
|
src/MediaDeviceHandler.ts(18,8): error TS1259: Module '"events"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/MediaDeviceHandler.ts(39,20): error TS7008: Member 'internalInstance' implicitly has an 'any' type.
|
|
src/MediaDeviceHandler.ts(41,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/MediaDeviceHandler.ts(53,39): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
src/MediaDeviceHandler.ts(65,66): error TS2345: Argument of type 'MediaDeviceInfo' is not assignable to parameter of type 'never'.
|
|
src/MediaDeviceHandler.ts(85,14): error TS2339: Property 'emit' does not exist on type 'MediaDeviceHandler'.
|
|
src/MediaDeviceHandler.ts(141,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/MediaDeviceHandler.ts(144,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/MediaDeviceHandler.ts(148,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/MediaDeviceHandler.ts(151,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/PlatformPeg.ts(35,13): error TS2322: Type 'null' is not assignable to type 'BasePlatform'.
|
|
src/PlatformPeg.ts(58,13): error TS2339: Property 'mxPlatformPeg' does not exist on type 'Window & typeof globalThis'.
|
|
src/PlatformPeg.ts(59,12): error TS2339: Property 'mxPlatformPeg' does not exist on type 'Window & typeof globalThis'.
|
|
src/PlatformPeg.ts(61,23): error TS2339: Property 'mxPlatformPeg' does not exist on type 'Window & typeof globalThis'.
|
|
src/PosthogAnalytics.ts(127,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/PosthogAnalytics.ts(129,13): error TS2322: Type 'PosthogAnalytics' is not assignable to type 'null'.
|
|
src/PosthogAnalytics.ts(131,9): error TS2322: Type 'null' is not assignable to type 'PosthogAnalytics'.
|
|
src/PosthogAnalytics.ts(135,51): error TS2345: Argument of type '"posthog"' is not assignable to parameter of type 'undefined'.
|
|
src/PosthogAnalytics.ts(137,31): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
|
|
src/PosthogAnalytics.ts(137,49): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
|
|
src/PosthogAnalytics.ts(138,45): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
|
|
src/PosthogAnalytics.ts(245,20): error TS2802: Type 'Uint8Array' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/PosthogAnalytics.ts(269,69): error TS2571: Object is of type 'unknown'.
|
|
src/PosthogAnalytics.ts(364,43): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/PosthogTrackers.ts(50,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/PosthogTrackers.ts(58,13): error TS2322: Type 'null' is not assignable to type 'PageType | undefined'.
|
|
src/PosthogTrackers.ts(59,13): error TS2322: Type 'null' is not assignable to type '"User" | "RoomDirectory" | "Home" | "Welcome" | "Login" | "ForgotPassword" | "Register" | "UseCaseSelection" | "Room" | "RoomDetails" | "RoomMembers" | "RoomSearch" | "RoomUploads" | ... 34 more ... | undefined'.
|
|
src/PosthogTrackers.ts(70,35): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
src/PosthogTrackers.ts(90,9): error TS2322: Type 'null' is not assignable to type '"User" | "RoomDirectory" | "Home" | "Welcome" | "Login" | "ForgotPassword" | "Register" | "UseCaseSelection" | "Room" | "RoomDetails" | "RoomMembers" | "RoomSearch" | "RoomUploads" | ... 34 more ... | undefined'.
|
|
src/RoomAliasCache.ts(34,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/RoomNotifs.ts(55,9): error TS2322: Type 'null' is not assignable to type 'RoomNotifState'.
|
|
src/RoomNotifs.ts(70,5): error TS2322: Type 'null' is not assignable to type 'RoomNotifState'.
|
|
src/RoomNotifs.ts(81,56): error TS2322: Type 'null' is not assignable to type 'NotificationCountType'.
|
|
src/RoomNotifs.ts(96,13): error TS2532: Object is possibly 'undefined'.
|
|
src/RoomNotifs.ts(96,34): error TS2532: Object is possibly 'undefined'.
|
|
src/RoomNotifs.ts(100,5): error TS2322: Type 'number | undefined' is not assignable to type 'number'.
|
|
Type 'undefined' is not assignable to type 'number'.
|
|
src/RoomNotifs.ts(176,9): error TS2322: Type 'null' is not assignable to type 'IPushRule'.
|
|
src/RoomNotifs.ts(183,5): error TS2322: Type 'null' is not assignable to type 'IPushRule'.
|
|
src/Rooms.ts(34,9): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/Rooms.ts(51,19): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/Rooms.ts(58,35): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/Rooms.ts(80,26): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/Rooms.ts(92,26): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/Rooms.ts(96,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/Rooms.ts(120,24): error TS2532: Object is possibly 'undefined'.
|
|
src/Rooms.ts(131,24): error TS2532: Object is possibly 'undefined'.
|
|
src/ScalarAuthClient.ts(17,8): error TS1192: Module '"url"' has no default export.
|
|
src/ScalarAuthClient.ts(18,21): error TS7016: Could not find a declaration file for module 'browser-request'. '/home/weeman/git/element/matrix-react-sdk/node_modules/browser-request/index.js' implicitly has an 'any' type.
|
|
Try `npm i --save-dev @types/browser-request` if it exists or add a new declaration (.d.ts) file containing `declare module 'browser-request';`
|
|
src/ScalarAuthClient.ts(40,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/ScalarAuthClient.ts(43,9): error TS2322: Type 'undefined' is not assignable to type 'TermsInteractionCallback'.
|
|
src/ScalarAuthClient.ts(67,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/ScalarAuthClient.ts(75,33): error TS7006: Parameter 'callback' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(115,17): error TS7006: Parameter 'err' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(115,22): error TS7006: Parameter 'response' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(115,32): error TS7006: Parameter 'body' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(196,17): error TS7006: Parameter 'err' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(196,22): error TS7006: Parameter 'response' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(196,32): error TS7006: Parameter 'body' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(220,17): error TS7006: Parameter 'err' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(220,22): error TS7006: Parameter 'response' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(220,32): error TS7006: Parameter 'body' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(259,17): error TS7006: Parameter 'err' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(259,22): error TS7006: Parameter 'response' implicitly has an 'any' type.
|
|
src/ScalarAuthClient.ts(259,32): error TS7006: Parameter 'body' implicitly has an 'any' type.
|
|
src/SdkConfig.ts(29,5): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
|
|
src/SdkConfig.ts(55,16): error TS2339: Property 'mxReactSdkConfig' does not exist on type 'Window & typeof globalThis'.
|
|
src/SdkConfig.ts(72,30): error TS2536: Type 'K' cannot be used to index type 'IConfigOptions'.
|
|
src/SdkConfig.ts(73,35): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'keyof IConfigOptions'.
|
|
src/SdkConfig.ts(75,13): error TS2322: Type 'SnakedObject<string | number | boolean | string[] | Record<string, any> | IClientWellKnown | Record<string, boolean> | ValidatedServerConfig | ... 15 more ... | { ...; }>' is not assignable to type 'Optional<SnakedObject<IConfigOptions[K]>>'.
|
|
Type 'string | number | boolean | string[] | Record<string, any> | IClientWellKnown | Record<string, boolean> | ValidatedServerConfig | ... 15 more ... | { ...; }' is not assignable to type 'IConfigOptions[K]'.
|
|
Type 'string' is not assignable to type 'IConfigOptions[K]'.
|
|
src/SdkConfig.ts(85,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IConfigOptions'.
|
|
No index signature with a parameter of type 'string' was found on type 'IConfigOptions'.
|
|
src/SdkConfig.ts(86,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IConfigOptions'.
|
|
No index signature with a parameter of type 'string' was found on type 'IConfigOptions'.
|
|
src/SdkConfig.ts(86,39): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'IConfigOptions'.
|
|
No index signature with a parameter of type 'string' was found on type 'IConfigOptions'.
|
|
src/SecurityManager.ts(27,19): error TS6142: Module './Modal' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/Modal.tsx', but '--jsx' is not set.
|
|
src/SecurityManager.ts(29,20): error TS6142: Module './languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/SecurityManager.ts(31,39): error TS6142: Module './components/views/dialogs/security/AccessSecretStorageDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/security/AccessSecretStorageDialog.tsx', but '--jsx' is not set.
|
|
src/SecurityManager.ts(32,36): error TS6142: Module './components/views/dialogs/security/RestoreKeyBackupDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/security/RestoreKeyBackupDialog.tsx', but '--jsx' is not set.
|
|
src/SecurityManager.ts(35,28): error TS6142: Module './components/views/dialogs/QuestionDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/QuestionDialog.tsx', but '--jsx' is not set.
|
|
src/SecurityManager.ts(36,35): error TS6142: Module './components/views/dialogs/InteractiveAuthDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/InteractiveAuthDialog.tsx', but '--jsx' is not set.
|
|
src/SecurityManager.ts(116,13): error TS2322: Type 'undefined' is not assignable to type 'string | null'.
|
|
src/SecurityManager.ts(135,85): error TS2454: Variable 'keyInfo' is used before being assigned.
|
|
src/SecurityManager.ts(136,42): error TS2454: Variable 'keyInfo' is used before being assigned.
|
|
src/SecurityManager.ts(144,38): error TS2454: Variable 'keyInfo' is used before being assigned.
|
|
src/SecurityManager.ts(152,39): error TS2454: Variable 'keyInfo' is used before being assigned.
|
|
src/SecurityManager.ts(157,13): error TS2454: Variable 'keyInfo' is used before being assigned.
|
|
src/SecurityManager.ts(167,35): error TS7006: Parameter 'reason' implicitly has an 'any' type.
|
|
src/SecurityManager.ts(182,34): error TS2454: Variable 'keyInfo' is used before being assigned.
|
|
src/SecurityManager.ts(189,17): error TS7051: Parameter has a name but no type. Did you mean 'arg0: Uint8Array'?
|
|
src/SecurityManager.ts(203,37): error TS7006: Parameter 'input' implicitly has an 'any' type.
|
|
src/SecurityManager.ts(217,35): error TS7006: Parameter 'reason' implicitly has an 'any' type.
|
|
src/SecurityManager.ts(254,4): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
src/SecurityManager.ts(258,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
src/SecurityManager.ts(262,9): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
src/SecurityManager.ts(270,49): error TS2322: Type 'undefined' is not assignable to type 'string'.
|
|
src/SecurityManager.ts(286,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/SecurityManager.ts(302,42): error TS7006: Parameter 'k' implicitly has an 'any' type.
|
|
src/SecurityManager.ts(308,12): error TS2454: Variable 'key' is used before being assigned.
|
|
src/SecurityManager.ts(341,21): error TS6142: Module './async-components/views/dialogs/security/CreateSecretStorageDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/async-components/views/dialogs/security/CreateSecretStorageDialog.tsx', but '--jsx' is not set.
|
|
src/SecurityManager.ts(350,43): error TS7006: Parameter 'reason' implicitly has an 'any' type.
|
|
src/SecurityManager.ts(400,64): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'.
|
|
src/Terms.ts(22,19): error TS6142: Module './Modal' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/Modal.tsx', but '--jsx' is not set.
|
|
src/Terms.ts(23,25): error TS6142: Module './components/views/dialogs/TermsDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/TermsDialog.tsx', but '--jsx' is not set.
|
|
src/Terms.ts(133,32): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/Terms.ts(143,96): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/Unread.ts(24,38): error TS6142: Module './events/EventTileFactory' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/events/EventTileFactory.tsx', but '--jsx' is not set.
|
|
src/Unread.ts(63,46): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/Unread.ts(86,38): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/VoipUserMapper.ts(24,31): error TS6142: Module './LegacyCallHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/LegacyCallHandler.tsx', but '--jsx' is not set.
|
|
src/VoipUserMapper.ts(37,20): error TS2339: Property 'mxVoipUserMapper' does not exist on type 'Window & typeof globalThis'.
|
|
src/VoipUserMapper.ts(37,59): error TS2339: Property 'mxVoipUserMapper' does not exist on type 'Window & typeof globalThis'.
|
|
src/VoipUserMapper.ts(38,23): error TS2339: Property 'mxVoipUserMapper' does not exist on type 'Window & typeof globalThis'.
|
|
src/VoipUserMapper.ts(43,72): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/VoipUserMapper.ts(92,27): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/VoipUserMapper.ts(94,66): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/VoipUserMapper.ts(97,69): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/actions/MatrixActionCreators.ts(224,9): error TS2322: Type 'boolean | null' is not assignable to type 'boolean'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(17,8): error TS1259: Module '"/home/weeman/git/element/matrix-react-sdk/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/components/views/rooms/NewRoomIntro.tsx(23,33): error TS6142: Module '../../../contexts/MatrixClientContext' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/contexts/MatrixClientContext.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(26,20): error TS6142: Module '../../../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(27,30): error TS6142: Module '../elements/AccessibleButton' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/elements/AccessibleButton.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(28,49): error TS6142: Module '../elements/MiniAvatarUploader' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/elements/MiniAvatarUploader.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(29,24): error TS6142: Module '../avatars/RoomAvatar' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/avatars/RoomAvatar.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(34,33): error TS6142: Module '../../../utils/space' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/utils/space.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(35,29): error TS6142: Module '../messages/EventTileBubble' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/messages/EventTileBubble.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(36,35): error TS6142: Module '../dialogs/RoomSettingsDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/RoomSettingsDialog.tsx', but '--jsx' is not set.
|
|
src/components/views/rooms/NewRoomIntro.tsx(71,16): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(72,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(85,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(87,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(88,36): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(90,26): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(95,96): error TS2571: Object is of type 'unknown'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(104,17): error TS2531: Object is possibly 'null'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(111,20): error TS7006: Parameter 'sub' implicitly has an 'any' type.
|
|
src/components/views/rooms/NewRoomIntro.tsx(111,27): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(117,20): error TS7006: Parameter 'sub' implicitly has an 'any' type.
|
|
src/components/views/rooms/NewRoomIntro.tsx(117,27): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(125,25): error TS2571: Object is of type 'unknown'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(135,60): error TS2571: Object is of type 'unknown'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(142,13): error TS2454: Variable 'parentSpace' is used before being assigned.
|
|
src/components/views/rooms/NewRoomIntro.tsx(143,23): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(144,17): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(153,34): error TS2571: Object is of type 'unknown'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(153,54): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(163,35): error TS2571: Object is of type 'unknown'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(164,23): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(165,17): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(178,16): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(179,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(182,31): error TS7006: Parameter 'url' implicitly has an 'any' type.
|
|
src/components/views/rooms/NewRoomIntro.tsx(182,38): error TS2571: Object is of type 'unknown'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(184,17): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(187,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(189,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(190,33): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(192,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(197,31): error TS7006: Parameter 'event' implicitly has an 'any' type.
|
|
src/components/views/rooms/NewRoomIntro.tsx(214,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(219,9): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(222,12): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/components/views/rooms/NewRoomIntro.tsx(223,42): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'MatrixClient'.
|
|
src/components/views/rooms/NewRoomIntro.tsx(224,13): error TS17004: Cannot use JSX unless the '--jsx' flag is provided.
|
|
src/contexts/RoomContext.ts(19,28): error TS6142: Module '../components/structures/RoomView' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/structures/RoomView.tsx', but '--jsx' is not set.
|
|
src/createRoom.ts(32,19): error TS6142: Module './Modal' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/Modal.tsx', but '--jsx' is not set.
|
|
src/createRoom.ts(33,20): error TS6142: Module './languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/createRoom.ts(39,38): error TS6142: Module './utils/space' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/utils/space.tsx', but '--jsx' is not set.
|
|
src/createRoom.ts(42,25): error TS6142: Module './components/views/dialogs/ErrorDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/ErrorDialog.tsx', but '--jsx' is not set.
|
|
src/createRoom.ts(43,21): error TS6142: Module './components/views/elements/Spinner' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/elements/Spinner.tsx', but '--jsx' is not set.
|
|
src/createRoom.ts(150,21): error TS2464: A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
|
|
src/createRoom.ts(239,9): error TS7034: Variable 'modal' implicitly has type 'any' in some locations where its type cannot be determined.
|
|
src/createRoom.ts(257,13): error TS7005: Variable 'modal' implicitly has an 'any' type.
|
|
src/createRoom.ts(257,20): error TS7005: Variable 'modal' implicitly has an 'any' type.
|
|
src/createRoom.ts(380,5): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/createRoom.ts(389,13): error TS2322: Type 'undefined' is not assignable to type 'boolean'.
|
|
src/createRoom.ts(395,37): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/createRoom.ts(397,5): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/customisations/Alias.ts(19,5): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/customisations/Security.ts(40,5): error TS2322: Type 'null' is not assignable to type 'Uint8Array'.
|
|
src/customisations/Security.ts(46,5): error TS2322: Type 'null' is not assignable to type 'Uint8Array'.
|
|
src/customisations/Security.ts(53,5): error TS2322: Type 'Promise<null>' is not assignable to type 'Promise<Uint8Array>'.
|
|
Type 'null' is not assignable to type 'Uint8Array'.
|
|
src/dispatcher/dispatcher.ts(70,13): error TS2339: Property 'mxDispatcher' does not exist on type 'Window & typeof globalThis'.
|
|
src/dispatcher/dispatcher.ts(71,12): error TS2339: Property 'mxDispatcher' does not exist on type 'Window & typeof globalThis'.
|
|
src/dispatcher/payloads.ts(47,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/dispatcher/payloads/SettingUpdatedPayload.ts(20,34): error TS6142: Module '../../settings/Settings' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/settings/Settings.tsx', but '--jsx' is not set.
|
|
src/integrations/IntegrationManagerInstance.ts(17,8): error TS1192: Module '"url"' has no default export.
|
|
src/integrations/IntegrationManagerInstance.ts(23,19): error TS6142: Module '../Modal' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/Modal.tsx', but '--jsx' is not set.
|
|
src/integrations/IntegrationManagerInstance.ts(25,32): error TS6142: Module '../components/views/settings/IntegrationManager' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/settings/IntegrationManager.tsx', but '--jsx' is not set.
|
|
src/integrations/IntegrationManagerInstance.ts(45,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/integrations/IntegrationManagerInstance.ts(48,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/integrations/IntegrationManagerInstance.ts(53,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/integrations/IntegrationManagerInstance.ts(64,16): error TS2322: Type 'null' is not assignable to type 'Room'.
|
|
src/integrations/IntegrationManagerInstance.ts(64,35): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/integrations/IntegrationManagerInstance.ts(64,58): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/integrations/IntegrationManagerInstance.ts(72,45): error TS7006: Parameter 'policyInfo' implicitly has an 'any' type.
|
|
src/integrations/IntegrationManagerInstance.ts(72,57): error TS7006: Parameter 'agreedUrls' implicitly has an 'any' type.
|
|
src/integrations/IntegrationManagerInstance.ts(85,17): error TS7053: Element implicitly has an 'any' type because expression of type '"connected"' can't be used to index type '{}'.
|
|
Property 'connected' does not exist on type '{}'.
|
|
src/integrations/IntegrationManagerInstance.ts(87,17): error TS7053: Element implicitly has an 'any' type because expression of type '"url"' can't be used to index type '{}'.
|
|
Property 'url' does not exist on type '{}'.
|
|
src/integrations/IntegrationManagerInstance.ts(96,13): error TS7053: Element implicitly has an 'any' type because expression of type '"connected"' can't be used to index type '{}'.
|
|
Property 'connected' does not exist on type '{}'.
|
|
src/integrations/IntegrationManagers.ts(17,8): error TS1192: Module '"url"' has no default export.
|
|
src/integrations/IntegrationManagers.ts(23,19): error TS6142: Module '../Modal' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/Modal.tsx', but '--jsx' is not set.
|
|
src/integrations/IntegrationManagers.ts(25,42): error TS6142: Module '../components/views/dialogs/IntegrationsImpossibleDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/IntegrationsImpossibleDialog.tsx', but '--jsx' is not set.
|
|
src/integrations/IntegrationManagers.ts(26,40): error TS6142: Module '../components/views/dialogs/IntegrationsDisabledDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/IntegrationsDisabledDialog.tsx', but '--jsx' is not set.
|
|
src/integrations/IntegrationManagers.ts(39,20): error TS7008: Member 'instance' implicitly has an 'any' type.
|
|
src/integrations/IntegrationManagers.ts(42,13): error TS2564: Property 'client' has no initializer and is not definitely assigned in the constructor.
|
|
src/integrations/IntegrationManagers.ts(43,13): error TS2564: Property 'primaryManager' has no initializer and is not definitely assigned in the constructor.
|
|
src/integrations/IntegrationManagers.ts(77,15): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/integrations/IntegrationManagers.ts(78,15): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/integrations/IntegrationManagers.ts(82,13): error TS2322: Type 'null' is not assignable to type 'IntegrationManagerInstance'.
|
|
src/integrations/IntegrationManagers.ts(86,46): error TS7006: Parameter 'discoveryResponse' implicitly has an 'any' type.
|
|
src/integrations/IntegrationManagers.ts(108,13): error TS2322: Type 'null' is not assignable to type 'IntegrationManagerInstance'.
|
|
src/integrations/IntegrationManagers.ts(133,9): error TS2322: Type 'null' is not assignable to type 'IntegrationManagerInstance'.
|
|
src/integrations/IntegrationManagers.ts(169,13): error TS2322: Type 'null' is not assignable to type 'IntegrationManagerInstance'.
|
|
src/integrations/IntegrationManagers.ts(210,13): error TS2322: Type 'null' is not assignable to type 'IntegrationManagerInstance'.
|
|
src/integrations/IntegrationManagers.ts(213,27): error TS7053: Element implicitly has an 'any' type because expression of type '"m.integrations_widget"' can't be used to index type '{}'.
|
|
Property 'm.integrations_widget' does not exist on type '{}'.
|
|
src/integrations/IntegrationManagers.ts(215,13): error TS2322: Type 'null' is not assignable to type 'IntegrationManagerInstance'.
|
|
src/integrations/IntegrationManagers.ts(218,24): error TS7053: Element implicitly has an 'any' type because expression of type '"m.integrations_widget"' can't be used to index type '{}'.
|
|
Property 'm.integrations_widget' does not exist on type '{}'.
|
|
src/integrations/IntegrationManagers.ts(221,13): error TS2322: Type 'null' is not assignable to type 'IntegrationManagerInstance'.
|
|
src/integrations/IntegrationManagers.ts(237,8): error TS2339: Property 'mxIntegrationManagers' does not exist on type 'Window & typeof globalThis'.
|
|
src/models/Call.ts(25,13): error TS1259: Module '"events"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/models/Call.ts(43,74): error TS7019: Rest parameter 'args' implicitly has an 'any[]' type.
|
|
src/models/Call.ts(44,20): error TS7019: Rest parameter 'args' implicitly has an 'any[]' type.
|
|
src/models/Call.ts(51,24): error TS2454: Variable 'listener' is used before being assigned.
|
|
src/models/Call.ts(94,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(97,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(101,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(106,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(109,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(115,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(120,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(123,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/Call.ts(315,13): error TS2322: Type 'Timeout' is not assignable to type 'number'.
|
|
src/models/Call.ts(434,36): error TS2339: Property 'on' does not exist on type 'ActiveWidgetStore'.
|
|
src/models/Call.ts(435,36): error TS2339: Property 'on' does not exist on type 'ActiveWidgetStore'.
|
|
src/models/Call.ts(460,36): error TS2339: Property 'off' does not exist on type 'ActiveWidgetStore'.
|
|
src/models/Call.ts(461,36): error TS2339: Property 'off' does not exist on type 'ActiveWidgetStore'.
|
|
src/models/Call.ts(492,13): error TS2322: Type 'Timeout' is not assignable to type 'number'.
|
|
src/models/Call.ts(499,27): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
|
|
Argument of type 'number | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
|
|
Argument of type 'number | null' is not assignable to parameter of type 'number | undefined'.
|
|
Type 'null' is not assignable to type 'number | undefined'.
|
|
src/models/LocalRoom.ts(38,5): error TS2564: Property 'actualRoomId' has no initializer and is not definitely assigned in the constructor.
|
|
src/models/LocalRoom.ts(50,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/LocalRoom.ts(54,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/models/LocalRoom.ts(58,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/settings/SettingsStore.ts(28,20): error TS6142: Module '../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/settings/SettingsStore.ts(30,56): error TS6142: Module './Settings' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/settings/Settings.tsx', but '--jsx' is not set.
|
|
src/settings/SettingsStore.ts(49,5): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/settings/SettingsStore.ts(54,9): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{}'.
|
|
src/settings/SettingsStore.ts(188,45): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/settings/SettingsStore.ts(209,44): error TS2345: Argument of type 'CallbackFn | undefined' is not assignable to parameter of type 'CallbackFn'.
|
|
Type 'undefined' is not assignable to type 'CallbackFn'.
|
|
src/settings/SettingsStore.ts(227,13): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/SettingsStore.ts(227,48): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/settings/SettingsStore.ts(241,34): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/SettingsStore.ts(249,50): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/SettingsStore.ts(249,50): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/settings/SettingsStore.ts(251,17): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/SettingsStore.ts(301,75): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
src/settings/SettingsStore.ts(332,58): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/settings/SettingsStore.ts(358,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/settings/SettingsStore.ts(384,29): error TS7053: Element implicitly has an 'any' type because expression of type 'SettingLevel' can't be used to index type 'IHandlerMap'.
|
|
Property '[SettingLevel.DEVICE]' does not exist on type 'IHandlerMap'.
|
|
src/settings/SettingsStore.ts(386,82): error TS2345: Argument of type 'null' is not assignable to parameter of type 'SettingLevel'.
|
|
src/settings/SettingsStore.ts(393,29): error TS7053: Element implicitly has an 'any' type because expression of type 'SettingLevel' can't be used to index type 'IHandlerMap'.
|
|
Property '[SettingLevel.DEVICE]' does not exist on type 'IHandlerMap'.
|
|
src/settings/SettingsStore.ts(402,74): error TS2345: Argument of type 'null' is not assignable to parameter of type 'SettingLevel'.
|
|
src/settings/SettingsStore.ts(478,47): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/settings/SettingsStore.ts(486,45): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/settings/SettingsStore.ts(569,29): error TS7053: Element implicitly has an 'any' type because expression of type 'SettingLevel' can't be used to index type 'IHandlerMap'.
|
|
Property '[SettingLevel.DEVICE]' does not exist on type 'IHandlerMap'.
|
|
src/settings/SettingsStore.ts(573,9): error TS2322: Type 'null' is not assignable to type 'SettingLevel'.
|
|
src/settings/SettingsStore.ts(595,74): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
src/settings/SettingsStore.ts(633,27): error TS7006: Parameter 'settingName' implicitly has an 'any' type.
|
|
src/settings/SettingsStore.ts(635,33): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ device: DeviceSettingsHandler; "room-device": RoomDeviceSettingsHandler; "room-account": LocalEchoWrapper; ... 4 more ...; default: DefaultSettingsHandler; }'.
|
|
No index signature with a parameter of type 'string' was found on type '{ device: DeviceSettingsHandler; "room-device": RoomDeviceSettingsHandler; "room-account": LocalEchoWrapper; ... 4 more ...; default: DefaultSettingsHandler; }'.
|
|
src/settings/SettingsStore.ts(641,92): error TS2571: Object is of type 'unknown'.
|
|
src/settings/SettingsStore.ts(650,81): error TS2571: Object is of type 'unknown'.
|
|
src/settings/SettingsStore.ts(663,99): error TS2571: Object is of type 'unknown'.
|
|
src/settings/SettingsStore.ts(669,71): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
src/settings/SettingsStore.ts(672,89): error TS2571: Object is of type 'unknown'.
|
|
src/settings/SettingsStore.ts(682,104): error TS2571: Object is of type 'unknown'.
|
|
src/settings/SettingsStore.ts(688,84): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
src/settings/SettingsStore.ts(691,94): error TS2571: Object is of type 'unknown'.
|
|
src/settings/SettingsStore.ts(711,14): error TS7053: Element implicitly has an 'any' type because expression of type 'SettingLevel' can't be used to index type 'IHandlerMap'.
|
|
Property '[SettingLevel.DEVICE]' does not exist on type 'IHandlerMap'.
|
|
src/settings/SettingsStore.ts(711,31): error TS2322: Type 'null' is not assignable to type 'SettingsHandler'.
|
|
src/settings/SettingsStore.ts(712,16): error TS7053: Element implicitly has an 'any' type because expression of type 'SettingLevel' can't be used to index type 'IHandlerMap'.
|
|
Property '[SettingLevel.DEVICE]' does not exist on type 'IHandlerMap'.
|
|
src/settings/SettingsStore.ts(720,18): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ device: DeviceSettingsHandler; "room-device": RoomDeviceSettingsHandler; "room-account": LocalEchoWrapper; ... 4 more ...; default: DefaultSettingsHandler; }'.
|
|
src/settings/SettingsStore.ts(721,56): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{}'.
|
|
src/settings/SettingsStore.ts(721,74): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ device: DeviceSettingsHandler; "room-device": RoomDeviceSettingsHandler; "room-account": LocalEchoWrapper; ... 4 more ...; default: DefaultSettingsHandler; }'.
|
|
src/settings/SettingsStore.ts(725,14): error TS7053: Element implicitly has an 'any' type because expression of type '"default"' can't be used to index type '{}'.
|
|
Property 'default' does not exist on type '{}'.
|
|
src/settings/SettingsStore.ts(725,35): error TS7053: Element implicitly has an 'any' type because expression of type '"default"' can't be used to index type '{}'.
|
|
Property 'default' does not exist on type '{}'.
|
|
src/settings/SettingsStore.ts(732,8): error TS2339: Property 'mxSettingsStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/settings/WatchManager.ts(21,7): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/settings/WatchManager.ts(34,14): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(34,49): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | symbol'.
|
|
Type 'null' is not assignable to type 'string | symbol'.
|
|
src/settings/WatchManager.ts(34,58): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(34,93): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | symbol'.
|
|
src/settings/WatchManager.ts(35,9): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(35,9): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(35,44): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string | symbol'.
|
|
src/settings/WatchManager.ts(60,34): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(61,31): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(61,31): error TS2461: Type 'CallbackFn[] | undefined' is not an array type.
|
|
src/settings/WatchManager.ts(66,42): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(66,65): error TS2550: Property 'flat' does not exist on type 'CallbackFn[][]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2019' or later.
|
|
src/settings/WatchManager.ts(67,20): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(68,31): error TS2532: Object is possibly 'undefined'.
|
|
src/settings/WatchManager.ts(68,31): error TS2461: Type 'CallbackFn[] | undefined' is not an array type.
|
|
src/settings/handlers/AbstractLocalStorageSettingsHandler.ts(57,68): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/settings/handlers/AbstractLocalStorageSettingsHandler.ts(58,13): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/settings/handlers/AbstractLocalStorageSettingsHandler.ts(61,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/settings/handlers/AbstractLocalStorageSettingsHandler.ts(75,42): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/settings/handlers/AccountSettingsHandler.ts(44,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/settings/handlers/AccountSettingsHandler.ts(49,60): error TS2345: Argument of type '(event: MatrixEvent, prevEvent: MatrixEvent) => void' is not assignable to parameter of type '(event: MatrixEvent, lastEvent?: MatrixEvent | undefined) => void'.
|
|
Types of parameters 'prevEvent' and 'lastEvent' are incompatible.
|
|
Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
src/settings/handlers/AccountSettingsHandler.ts(50,47): error TS2345: Argument of type '(event: MatrixEvent, prevEvent: MatrixEvent) => void' is not assignable to parameter of type '(event: MatrixEvent, lastEvent?: MatrixEvent | undefined) => void'.
|
|
src/settings/handlers/MatrixClientBackedSettingsHandler.ts(32,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/settings/handlers/MatrixClientBackedSettingsHandler.ts(47,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/settings/handlers/MatrixClientBackedSettingsHandler.ts(51,24): error TS7010: 'initMatrixClient', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
src/settings/handlers/PlatformSettingsHandler.ts(19,26): error TS6142: Module '../Settings' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/settings/Settings.tsx', but '--jsx' is not set.
|
|
src/settings/handlers/PlatformSettingsHandler.ts(43,21): error TS2571: Object is of type 'unknown'.
|
|
src/settings/handlers/PlatformSettingsHandler.ts(44,64): error TS7006: Parameter 'value' implicitly has an 'any' type.
|
|
src/settings/handlers/RoomAccountSettingsHandler.ts(41,61): error TS2345: Argument of type '(event: MatrixEvent, room: Room, prevEvent: MatrixEvent) => void' is not assignable to parameter of type '(event: MatrixEvent, room: Room, lastEvent?: MatrixEvent | undefined) => void'.
|
|
Types of parameters 'prevEvent' and 'lastEvent' are incompatible.
|
|
Type 'MatrixEvent | undefined' is not assignable to type 'MatrixEvent'.
|
|
Type 'undefined' is not assignable to type 'MatrixEvent'.
|
|
src/settings/handlers/RoomAccountSettingsHandler.ts(44,45): error TS2345: Argument of type '(event: MatrixEvent, room: Room, prevEvent: MatrixEvent) => void' is not assignable to parameter of type '(event: MatrixEvent, room: Room, lastEvent?: MatrixEvent | undefined) => void'.
|
|
src/settings/handlers/RoomSettingsHandler.ts(40,61): error TS2345: Argument of type '(event: MatrixEvent, state: RoomState, prevEvent: MatrixEvent) => void' is not assignable to parameter of type '(event: MatrixEvent, state: RoomState, lastStateEvent: MatrixEvent | null) => void'.
|
|
Types of parameters 'prevEvent' and 'lastStateEvent' are incompatible.
|
|
Type 'MatrixEvent | null' is not assignable to type 'MatrixEvent'.
|
|
Type 'null' is not assignable to type 'MatrixEvent'.
|
|
src/settings/handlers/RoomSettingsHandler.ts(43,45): error TS2345: Argument of type '(event: MatrixEvent, state: RoomState, prevEvent: MatrixEvent) => void' is not assignable to parameter of type '(event: MatrixEvent, state: RoomState, lastStateEvent: MatrixEvent | null) => void'.
|
|
src/settings/handlers/RoomSettingsHandler.ts(48,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/settings/handlers/RoomSettingsHandler.ts(67,62): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string | null'.
|
|
src/settings/handlers/RoomSettingsHandler.ts(73,57): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string | null'.
|
|
src/settings/handlers/RoomSettingsHandler.ts(132,64): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/shouldHideEvent.ts(21,28): error TS6142: Module './components/structures/RoomView' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/structures/RoomView.tsx', but '--jsx' is not set.
|
|
src/shouldHideEvent.ts(62,9): error TS7006: Parameter 'name' implicitly has an 'any' type.
|
|
src/shouldHideEvent.ts(63,9): error TS7006: Parameter 'name' implicitly has an 'any' type.
|
|
src/stores/ActiveWidgetStore.ts(17,8): error TS1259: Module '"events"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/stores/ActiveWidgetStore.ts(42,13): error TS2564: Property 'persistentWidgetId' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/ActiveWidgetStore.ts(43,13): error TS2564: Property 'persistentRoomId' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/ActiveWidgetStore.ts(46,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/ActiveWidgetStore.ts(68,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/ActiveWidgetStore.ts(82,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/stores/ActiveWidgetStore.ts(83,13): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/stores/ActiveWidgetStore.ts(88,14): error TS2339: Property 'emit' does not exist on type 'ActiveWidgetStore'.
|
|
src/stores/ActiveWidgetStore.ts(109,30): error TS2339: Property 'emit' does not exist on type 'ActiveWidgetStore'.
|
|
src/stores/ActiveWidgetStore.ts(116,30): error TS2339: Property 'emit' does not exist on type 'ActiveWidgetStore'.
|
|
src/stores/ActiveWidgetStore.ts(132,8): error TS2339: Property 'mxActiveWidgetStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/AsyncStore.ts(65,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/AsyncStore.ts(95,27): error TS2322: Type 'null' is not assignable to type 'Object | T'.
|
|
src/stores/AsyncStore.ts(109,24): error TS7010: 'onDispatch', which lacks return-type annotation, implicitly has an 'any' return type.
|
|
src/stores/AsyncStoreWithClient.ts(33,24): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/AsyncStoreWithClient.ts(51,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/CallStore.ts(42,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/CallStore.ts(85,43): error TS2802: Type 'Map<Call, Map<CallEvent, (...args: unknown[]) => unknown>>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/CallStore.ts(105,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/CallStore.ts(108,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/CallStore.ts(113,84): error TS2802: Type 'Set<Call>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/CallStore.ts(126,56): error TS2802: Type 'Set<Call>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/CallStore.ts(128,56): error TS2802: Type 'Set<Call>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/CallStore.ts(133,53): error TS2802: Type 'Map<CallEvent, (...args: unknown[]) => unknown>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/CallStore.ts(141,46): error TS2769: No overload matches this call.
|
|
Overload 1 of 4, '(iterable?: Iterable<readonly [CallEvent, (...args: unknown[]) => unknown]> | null | undefined): Map<CallEvent, (...args: unknown[]) => unknown>', gave the following error.
|
|
Argument of type '(CallEvent | ((state: ConnectionState) => void))[][]' is not assignable to parameter of type 'Iterable<readonly [CallEvent, (...args: unknown[]) => unknown]>'.
|
|
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
|
|
Type 'IteratorResult<(CallEvent | ((state: ConnectionState) => void))[], any>' is not assignable to type 'IteratorResult<readonly [CallEvent, (...args: unknown[]) => unknown], any>'.
|
|
Type 'IteratorYieldResult<(CallEvent | ((state: ConnectionState) => void))[]>' is not assignable to type 'IteratorResult<readonly [CallEvent, (...args: unknown[]) => unknown], any>'.
|
|
Type 'IteratorYieldResult<(CallEvent | ((state: ConnectionState) => void))[]>' is not assignable to type 'IteratorYieldResult<readonly [CallEvent, (...args: unknown[]) => unknown]>'.
|
|
Type '(CallEvent | ((state: ConnectionState) => void))[]' is not assignable to type 'readonly [CallEvent, (...args: unknown[]) => unknown]'.
|
|
Target requires 2 element(s) but source may have fewer.
|
|
Overload 2 of 4, '(entries?: readonly (readonly [CallEvent, (...args: unknown[]) => unknown])[] | null | undefined): Map<CallEvent, (...args: unknown[]) => unknown>', gave the following error.
|
|
Type '(state: ConnectionState) => void' is not assignable to type '(...args: unknown[]) => unknown'.
|
|
Types of parameters 'state' and 'args' are incompatible.
|
|
Type 'unknown' is not assignable to type 'ConnectionState'.
|
|
src/stores/ReadyWatchingStore.ts(28,15): error TS2564: Property 'matrixClient' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/ReadyWatchingStore.ts(45,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/ReadyWatchingStore.ts(91,17): error TS2322: Type 'null' is not assignable to type 'MatrixClient'.
|
|
src/stores/ThreepidInviteStore.ts(17,8): error TS1259: Module '"events"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/stores/ThreepidInviteStore.ts(67,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/ThreepidInviteStore.ts(85,18): error TS2531: Object is possibly 'null'.
|
|
src/stores/ThreepidInviteStore.ts(86,37): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/ThreepidInviteStore.ts(86,58): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/ToastStore.ts(17,8): error TS1259: Module '"events"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/stores/ToastStore.ts(18,8): error TS1259: Module '"/home/weeman/git/element/matrix-react-sdk/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/stores/ToastStore.ts(44,21): error TS2339: Property 'mxToastStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/ToastStore.ts(44,42): error TS2339: Property 'mxToastStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/ToastStore.ts(45,23): error TS2339: Property 'mxToastStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/ToastStore.ts(71,14): error TS2339: Property 'emit' does not exist on type 'ToastStore'.
|
|
src/stores/ToastStore.ts(74,18): error TS7006: Parameter 'key' implicitly has an 'any' type.
|
|
src/stores/ToastStore.ts(86,18): error TS2339: Property 'emit' does not exist on type 'ToastStore'.
|
|
src/stores/WidgetEchoStore.ts(17,8): error TS1259: Module '"events"' can only be default-imported using the 'esModuleInterop' flag
|
|
src/stores/WidgetEchoStore.ts(67,32): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
src/stores/WidgetEchoStore.ts(67,71): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
src/stores/WidgetEchoStore.ts(70,34): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
src/stores/WidgetEchoStore.ts(83,34): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
src/stores/WidgetEchoStore.ts(104,14): error TS2339: Property 'emit' does not exist on type 'WidgetEchoStore'.
|
|
src/stores/WidgetEchoStore.ts(110,14): error TS2339: Property 'emit' does not exist on type 'WidgetEchoStore'.
|
|
src/stores/WidgetStore.ts(27,8): error TS7034: Variable 'WidgetEchoStore' implicitly has type 'any' in some locations where its type cannot be determined.
|
|
src/stores/WidgetStore.ts(61,9): error TS7005: Variable 'WidgetEchoStore' implicitly has an 'any' type.
|
|
src/stores/WidgetStore.ts(64,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/WidgetStore.ts(100,30): error TS2345: Argument of type 'Room | null' is not assignable to parameter of type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
src/stores/WidgetStore.ts(105,16): error TS7005: Variable 'WidgetEchoStore' implicitly has an 'any' type.
|
|
src/stores/WidgetStore.ts(105,105): error TS7006: Parameter 'ev' implicitly has an 'any' type.
|
|
src/stores/WidgetStore.ts(167,23): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/WidgetStore.ts(168,30): error TS2345: Argument of type 'Room | null' is not assignable to parameter of type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
src/stores/WidgetStore.ts(168,56): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/WidgetStore.ts(187,35): error TS7005: Variable 'WidgetEchoStore' implicitly has an 'any' type.
|
|
src/stores/WidgetStore.ts(201,8): error TS2339: Property 'mxWidgetStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/notifications/ListNotificationState.ts(34,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/ListNotificationState.ts(35,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/notifications/NotificationState.ts(40,15): error TS2564: Property '_symbol' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/notifications/NotificationState.ts(41,15): error TS2564: Property '_count' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/notifications/NotificationState.ts(42,15): error TS2564: Property '_color' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/notifications/NotificationState.ts(44,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/NotificationState.ts(45,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/notifications/NotificationState.ts(48,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/NotificationState.ts(52,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/NotificationState.ts(56,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/NotificationState.ts(60,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/NotificationState.ts(64,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/NotificationState.ts(68,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/NotificationState.ts(93,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/notifications/RoomNotificationState.ts(29,35): error TS6142: Module '../../components/structures/RoomStatusBar' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/structures/RoomStatusBar.tsx', but '--jsx' is not set.
|
|
src/stores/notifications/RoomNotificationState.ts(48,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/RoomNotificationStateStore.ts(56,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/RoomNotificationStateStore.ts(67,13): error TS2322: Type 'ListNotificationState | undefined' is not assignable to type 'ListNotificationState'.
|
|
Type 'undefined' is not assignable to type 'ListNotificationState'.
|
|
src/stores/notifications/RoomNotificationStateStore.ts(97,9): error TS2322: Type 'RoomNotificationState | undefined' is not assignable to type 'RoomNotificationState'.
|
|
Type 'undefined' is not assignable to type 'RoomNotificationState'.
|
|
src/stores/notifications/RoomNotificationStateStore.ts(104,9): error TS2322: Type 'ThreadsRoomNotificationState | undefined' is not assignable to type 'ThreadsRoomNotificationState'.
|
|
Type 'undefined' is not assignable to type 'ThreadsRoomNotificationState'.
|
|
src/stores/notifications/RoomNotificationStateStore.ts(107,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/RoomNotificationStateStore.ts(145,33): error TS2802: Type 'IterableIterator<RoomNotificationState>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/notifications/SpaceNotificationState.ts(35,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/SpaceNotificationState.ts(36,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/notifications/SpaceNotificationState.ts(80,68): error TS2345: Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
src/stores/notifications/SummarizedNotificationState.ts(36,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/notifications/ThreadNotificationState.ts(52,70): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/notifications/ThreadsRoomNotificationState.ts(43,45): error TS2802: Type 'Map<Thread, ThreadNotificationState>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/notifications/ThreadsRoomNotificationState.ts(52,9): error TS2322: Type 'ThreadNotificationState | undefined' is not assignable to type 'ThreadNotificationState'.
|
|
Type 'undefined' is not assignable to type 'ThreadNotificationState'.
|
|
src/stores/notifications/ThreadsRoomNotificationState.ts(66,45): error TS2802: Type 'Map<Thread, ThreadNotificationState>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/room-list/ListLayout.ts(43,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(47,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(52,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(56,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(61,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(65,17): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(69,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(74,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(79,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/ListLayout.ts(83,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/RoomListLayoutStore.ts(36,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/RoomListLayoutStore.ts(54,9): error TS2322: Type 'ListLayout | undefined' is not assignable to type 'ListLayout'.
|
|
Type 'undefined' is not assignable to type 'ListLayout'.
|
|
src/stores/room-list/RoomListLayoutStore.ts(60,30): error TS2802: Type 'IterableIterator<ListLayout>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/room-list/RoomListLayoutStore.ts(75,8): error TS2339: Property 'mxRoomListLayoutStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/room-list/RoomListStore.ts(30,31): error TS6142: Module '../RoomViewStore' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/stores/RoomViewStore.tsx', but '--jsx' is not set.
|
|
src/stores/room-list/RoomListStore.ts(76,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/RoomListStore.ts(96,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Object | IState | undefined'.
|
|
src/stores/room-list/RoomListStore.ts(130,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Room'.
|
|
src/stores/room-list/RoomListStore.ts(135,46): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Room'.
|
|
src/stores/room-list/RoomListStore.ts(210,52): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/room-list/RoomListStore.ts(229,67): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/room-list/RoomListStore.ts(230,37): error TS2345: Argument of type 'Room | null' is not assignable to parameter of type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
src/stores/room-list/RoomListStore.ts(282,58): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Room'.
|
|
src/stores/room-list/RoomListStore.ts(351,38): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Room'.
|
|
src/stores/room-list/RoomListStore.ts(390,92): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
src/stores/room-list/RoomListStore.ts(433,88): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
|
|
src/stores/room-list/RoomListStore.ts(604,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/RoomListStore.ts(615,8): error TS2339: Property 'mxRoomListStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(69,13): error TS2322: Type 'null' is not assignable to type 'IStickyRoom'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(70,13): error TS2322: Type 'null' is not assignable to type 'IStickyRoom'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(71,13): error TS2564: Property 'sortAlgorithms' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/room-list/algorithms/Algorithm.ts(72,13): error TS2564: Property 'listAlgorithms' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/room-list/algorithms/Algorithm.ts(73,13): error TS2564: Property 'algorithms' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/room-list/algorithms/Algorithm.ts(92,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/algorithms/Algorithm.ts(93,9): error TS2322: Type 'Room | null' is not assignable to type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(96,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/algorithms/Algorithm.ts(100,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/algorithms/Algorithm.ts(104,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/algorithms/Algorithm.ts(110,19): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/algorithms/Algorithm.ts(131,35): error TS2322: Type 'null' is not assignable to type 'SortAlgorithm'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(148,35): error TS2322: Type 'null' is not assignable to type 'ListAlgorithm'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(168,9): error TS2322: Type 'null' is not assignable to type 'IStickyRoom'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(174,13): error TS2322: Type 'null' is not assignable to type 'Room'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(178,13): error TS2322: Type 'null' is not assignable to type 'Room'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(189,17): error TS2322: Type 'null' is not assignable to type 'IStickyRoom'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(227,9): error TS2322: Type 'null' is not assignable to type 'IStickyRoom'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(314,37): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(326,17): error TS2322: Type 'null' is not assignable to type 'ITagMap'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(366,42): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(385,47): error TS2802: Type 'Set<Call>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/room-list/algorithms/Algorithm.ts(459,50): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Room'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(478,28): error TS7053: Element implicitly has an 'any' type because expression of type 'EffectiveMembership.Invite' can't be used to index type 'MembershipSplit'.
|
|
Property '[EffectiveMembership.Invite]' does not exist on type 'MembershipSplit'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(481,28): error TS7053: Element implicitly has an 'any' type because expression of type 'EffectiveMembership.Leave' can't be used to index type 'MembershipSplit'.
|
|
Property '[EffectiveMembership.Leave]' does not exist on type 'MembershipSplit'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(486,28): error TS7053: Element implicitly has an 'any' type because expression of type 'EffectiveMembership.Join' can't be used to index type 'MembershipSplit'.
|
|
Property '[EffectiveMembership.Join]' does not exist on type 'MembershipSplit'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(568,22): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(568,43): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/stores/room-list/algorithms/Algorithm.ts(569,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(89,13): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategorizedRoomMap'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategorizedRoomMap'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(109,38): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'ICategorizedRoomMap'.
|
|
No index signature with a parameter of type 'string' was found on type 'ICategorizedRoomMap'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(110,17): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'ICategorizedRoomMap'.
|
|
No index signature with a parameter of type 'string' was found on type 'ICategorizedRoomMap'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(117,17): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(118,40): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategorizedRoomMap'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategorizedRoomMap'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(130,44): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(160,13): error TS2322: Type 'undefined' is not assignable to type 'boolean'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(175,44): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(199,15): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(200,26): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(212,30): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(213,63): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(252,17): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(257,17): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(266,17): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(266,36): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(269,69): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/ImportanceAlgorithm.ts(270,43): error TS7053: Element implicitly has an 'any' type because expression of type 'NotificationColor' can't be used to index type 'ICategoryIndex'.
|
|
Property '[NotificationColor.None]' does not exist on type 'ICategoryIndex'.
|
|
src/stores/room-list/algorithms/list-ordering/NaturalAlgorithm.ts(38,29): error TS7006: Parameter 'room' implicitly has an 'any' type.
|
|
src/stores/room-list/algorithms/list-ordering/NaturalAlgorithm.ts(38,35): error TS7006: Parameter 'cause' implicitly has an 'any' type.
|
|
src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts(28,15): error TS2564: Property 'cachedOrderedRooms' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts(29,15): error TS2564: Property 'sortingAlgorithm' has no initializer and is not definitely assigned in the constructor.
|
|
src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts(39,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/room-list/algorithms/tag-sorting/RecentAlgorithm.ts(59,9): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/room-list/filters/VisibilityProvider.ts(19,31): error TS6142: Module '../../../LegacyCallHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/LegacyCallHandler.tsx', but '--jsx' is not set.
|
|
src/stores/room-list/filters/VisibilityProvider.ts(30,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(37,31): error TS6142: Module '../RoomViewStore' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/stores/RoomViewStore.tsx', but '--jsx' is not set.
|
|
src/stores/spaces/SpaceStore.ts(41,27): error TS6142: Module '../../components/views/rooms/RoomList' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/rooms/RoomList.tsx', but '--jsx' is not set.
|
|
src/stores/spaces/SpaceStore.ts(80,49): error TS2345: Argument of type 'Room' is not assignable to parameter of type 'never'.
|
|
src/stores/spaces/SpaceStore.ts(147,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(151,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(155,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(159,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(160,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(163,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(164,25): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(165,43): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(168,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(172,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(224,13): error TS2322: Type 'Room | null' is not assignable to type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
src/stores/spaces/SpaceStore.ts(239,17): error TS2454: Variable 'cliSpace' is used before being assigned.
|
|
src/stores/spaces/SpaceStore.ts(240,43): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(241,43): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(245,21): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/stores/spaces/SpaceStore.ts(249,24): error TS2454: Variable 'cliSpace' is used before being assigned.
|
|
src/stores/spaces/SpaceStore.ts(267,13): error TS2454: Variable 'cliSpace' is used before being assigned.
|
|
src/stores/spaces/SpaceStore.ts(325,69): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(327,69): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(346,9): error TS2322: Type '(Room | undefined)[]' is not assignable to type 'Room[]'.
|
|
Type 'Room | undefined' is not assignable to type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
src/stores/spaces/SpaceStore.ts(356,58): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(358,83): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(434,13): error TS2322: Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(437,13): error TS2322: Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(456,27): error TS2345: Argument of type 'Room | undefined' is not assignable to parameter of type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
src/stores/spaces/SpaceStore.ts(457,33): error TS2532: Object is possibly 'undefined'.
|
|
src/stores/spaces/SpaceStore.ts(612,26): error TS2802: Type 'IterableIterator<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/spaces/SpaceStore.ts(613,17): error TS2454: Variable 'dmBadgeSpace' is used before being assigned.
|
|
src/stores/spaces/SpaceStore.ts(642,13): error TS2454: Variable 'dmBadgeSpace' is used before being assigned.
|
|
src/stores/spaces/SpaceStore.ts(661,51): error TS2345: Argument of type 'RoomMember | null' is not assignable to parameter of type 'RoomMember'.
|
|
Type 'null' is not assignable to type 'RoomMember'.
|
|
src/stores/spaces/SpaceStore.ts(709,46): error TS2322: Type 'undefined' is not assignable to type '[Set<string>, Set<string>]'.
|
|
src/stores/spaces/SpaceStore.ts(712,29): error TS2322: Type 'Set<string> | undefined' is not assignable to type 'Set<string>'.
|
|
Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(712,63): error TS2322: Type 'Set<string> | undefined' is not assignable to type 'Set<string>'.
|
|
Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(736,69): error TS2550: Property 'flatMap' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2019' or later.
|
|
src/stores/spaces/SpaceStore.ts(736,77): error TS7006: Parameter 'roomId' implicitly has an 'any' type.
|
|
src/stores/spaces/SpaceStore.ts(740,50): error TS2345: Argument of type 'Set<unknown>' is not assignable to parameter of type 'Set<string>'.
|
|
Type 'unknown' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(743,25): error TS2322: Type 'Set<unknown>' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(754,31): error TS2345: Argument of type 'Set<string> | undefined' is not assignable to parameter of type 'Set<string>'.
|
|
Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(757,31): error TS2345: Argument of type 'Set<string> | undefined' is not assignable to parameter of type 'Set<string>'.
|
|
Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(760,31): error TS2345: Argument of type 'Set<string> | undefined' is not assignable to parameter of type 'Set<string>'.
|
|
Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/SpaceStore.ts(775,55): error TS2550: Property 'flatMap' does not exist on type 'string[]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2019' or later.
|
|
src/stores/spaces/SpaceStore.ts(776,13): error TS7006: Parameter 'changedId' implicitly has an 'any' type.
|
|
src/stores/spaces/SpaceStore.ts(776,30): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/spaces/SpaceStore.ts(778,33): error TS7006: Parameter 'parentId' implicitly has an 'any' type.
|
|
src/stores/spaces/SpaceStore.ts(791,48): error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/stores/spaces/SpaceStore.ts(810,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(814,13): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(820,13): error TS2322: Type 'import("/home/weeman/git/element/matrix-react-sdk/src/stores/spaces/index").MetaSpace | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(896,48): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(902,58): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(945,48): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(949,52): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(952,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(977,17): error TS2532: Object is possibly 'undefined'.
|
|
src/stores/spaces/SpaceStore.ts(979,17): error TS2532: Object is possibly 'undefined'.
|
|
src/stores/spaces/SpaceStore.ts(992,25): error TS2532: Object is possibly 'undefined'.
|
|
src/stores/spaces/SpaceStore.ts(1004,25): error TS2532: Object is possibly 'undefined'.
|
|
src/stores/spaces/SpaceStore.ts(1013,111): error TS2550: Property 'flat' does not exist on type 'string[][]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2019' or later.
|
|
src/stores/spaces/SpaceStore.ts(1014,99): error TS2550: Property 'flat' does not exist on type 'string[][]'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2019' or later.
|
|
src/stores/spaces/SpaceStore.ts(1018,57): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(1082,33): error TS2538: Type 'null' cannot be used as an index type.
|
|
src/stores/spaces/SpaceStore.ts(1085,33): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(1133,83): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(1145,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/stores/spaces/SpaceStore.ts(1223,13): error TS2322: Type 'SpaceNotificationState | undefined' is not assignable to type 'SpaceNotificationState'.
|
|
Type 'undefined' is not assignable to type 'SpaceNotificationState'.
|
|
src/stores/spaces/SpaceStore.ts(1293,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/spaces/SpaceStore.ts(1298,8): error TS2339: Property 'mxSpaceStore' does not exist on type 'Window & typeof globalThis'.
|
|
src/stores/spaces/flattenSpaceHierarchy.ts(69,9): error TS2322: Type 'Set<string> | undefined' is not assignable to type 'Set<string>'.
|
|
Type 'undefined' is not assignable to type 'Set<string>'.
|
|
src/stores/spaces/index.ts(20,20): error TS6142: Module '../../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/stores/widgets/WidgetMessagingStore.ts(48,23): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/stores/widgets/WidgetMessagingStore.ts(74,9): error TS2322: Type 'ClientWidgetApi | undefined' is not assignable to type 'ClientWidgetApi'.
|
|
Type 'undefined' is not assignable to type 'ClientWidgetApi'.
|
|
src/stores/widgets/WidgetMessagingStore.ts(92,9): error TS2322: Type 'ClientWidgetApi | undefined' is not assignable to type 'ClientWidgetApi'.
|
|
Type 'undefined' is not assignable to type 'ClientWidgetApi'.
|
|
src/toasts/BulkUnverifiedSessionsToast.ts(17,20): error TS6142: Module '../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/toasts/BulkUnverifiedSessionsToast.ts(20,26): error TS6142: Module '../components/views/toasts/GenericToast' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/toasts/GenericToast.tsx', but '--jsx' is not set.
|
|
src/toasts/SetupEncryptionToast.ts(17,19): error TS6142: Module '../Modal' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/Modal.tsx', but '--jsx' is not set.
|
|
src/toasts/SetupEncryptionToast.ts(18,20): error TS6142: Module '../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/toasts/SetupEncryptionToast.ts(20,35): error TS6142: Module '../components/views/dialogs/security/SetupEncryptionDialog' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/dialogs/security/SetupEncryptionDialog.tsx', but '--jsx' is not set.
|
|
src/toasts/SetupEncryptionToast.ts(23,26): error TS6142: Module '../components/views/toasts/GenericToast' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/toasts/GenericToast.tsx', but '--jsx' is not set.
|
|
src/toasts/SetupEncryptionToast.ts(25,21): error TS6142: Module '../components/views/elements/Spinner' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/elements/Spinner.tsx', but '--jsx' is not set.
|
|
src/toasts/UnverifiedSessionToast.ts(17,20): error TS6142: Module '../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/toasts/UnverifiedSessionToast.ts(22,26): error TS6142: Module '../components/views/toasts/GenericToast' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/views/toasts/GenericToast.tsx', but '--jsx' is not set.
|
|
src/utils/DMRoomMap.ts(38,13): error TS2322: Type 'null' is not assignable to type '{ [key: string]: string; }'.
|
|
src/utils/DMRoomMap.ts(39,13): error TS2322: Type 'null' is not assignable to type '{ [key: string]: string[]; }'.
|
|
src/utils/DMRoomMap.ts(90,13): error TS2322: Type 'null' is not assignable to type '{ [key: string]: string[]; }'.
|
|
src/utils/DMRoomMap.ts(91,13): error TS2322: Type 'null' is not assignable to type '{ [key: string]: string; }'.
|
|
src/utils/DMRoomMap.ts(102,41): error TS2538: Type 'null' cannot be used as an index type.
|
|
src/utils/DMRoomMap.ts(105,64): error TS7006: Parameter 'roomId' implicitly has an 'any' type.
|
|
src/utils/DMRoomMap.ts(113,24): error TS7006: Parameter 'ids' implicitly has an 'any' type.
|
|
src/utils/DMRoomMap.ts(119,25): error TS2538: Type 'null' cannot be used as an index type.
|
|
src/utils/DMRoomMap.ts(119,57): error TS7006: Parameter 'roomId' implicitly has an 'any' type.
|
|
src/utils/DMRoomMap.ts(121,28): error TS7006: Parameter 'ids' implicitly has an 'any' type.
|
|
src/utils/DMRoomMap.ts(123,50): error TS7031: Binding element 'userId' implicitly has an 'any' type.
|
|
src/utils/DMRoomMap.ts(123,58): error TS7031: Binding element 'roomId' implicitly has an 'any' type.
|
|
src/utils/DMRoomMap.ts(160,9): error TS2322: Type 'Room | null' is not assignable to type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
src/utils/DMRoomMap.ts(187,9): error TS2322: Type '{ userId: Optional<string>; room: Room | null; }' is not assignable to type '{ [userId: string]: Room; }'.
|
|
Property 'userId' is incompatible with index signature.
|
|
Type 'Optional<string>' is not assignable to type 'Room'.
|
|
Type 'undefined' is not assignable to type 'Room'.
|
|
src/utils/DMRoomMap.ts(190,33): error TS2769: No overload matches this call.
|
|
Overload 1 of 3, '(callbackfn: (previousValue: { userId: Optional<string>; room: Room | null; }, currentValue: { userId: Optional<string>; room: Room | null; }, currentIndex: number, array: { ...; }[]) => { ...; }, initialValue: { ...; }): { ...; }', gave the following error.
|
|
Type '{} | null' is not assignable to type '{ userId: Optional<string>; room: Room | null; }'.
|
|
Type 'null' is not assignable to type '{ userId: Optional<string>; room: Room | null; }'.
|
|
Overload 2 of 3, '(callbackfn: (previousValue: {}, currentValue: { userId: Optional<string>; room: Room | null; }, currentIndex: number, array: { userId: Optional<string>; room: Room | null; }[]) => {}, initialValue: {}): {}', gave the following error.
|
|
Type '{} | null' is not assignable to type '{}'.
|
|
Type 'null' is not assignable to type '{}'.
|
|
src/utils/DMRoomMap.ts(190,38): error TS2538: Type 'null' cannot be used as an index type.
|
|
src/utils/DMRoomMap.ts(190,38): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
src/utils/DMRoomMap.ts(197,41): error TS2538: Type 'null' cannot be used as an index type.
|
|
src/utils/SnakedObject.ts(29,16): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'unknown'.
|
|
No index signature with a parameter of type 'string' was found on type 'unknown'.
|
|
src/utils/StorageManager.ts(132,58): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
|
|
src/utils/StorageManager.ts(147,60): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
|
|
src/utils/StorageManager.ts(154,64): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
|
|
src/utils/StorageManager.ts(177,5): error TS2322: Type 'null' is not assignable to type 'IDBDatabase'.
|
|
src/utils/ValidatedServerConfig.ts(18,5): error TS2564: Property 'hsUrl' has no initializer and is not definitely assigned in the constructor.
|
|
src/utils/ValidatedServerConfig.ts(19,5): error TS2564: Property 'hsName' has no initializer and is not definitely assigned in the constructor.
|
|
src/utils/ValidatedServerConfig.ts(20,5): error TS2564: Property 'hsNameIsDifferent' has no initializer and is not definitely assigned in the constructor.
|
|
src/utils/ValidatedServerConfig.ts(22,5): error TS2564: Property 'isUrl' has no initializer and is not definitely assigned in the constructor.
|
|
src/utils/ValidatedServerConfig.ts(24,5): error TS2564: Property 'isDefault' has no initializer and is not definitely assigned in the constructor.
|
|
src/utils/ValidatedServerConfig.ts(26,5): error TS2564: Property 'isNameResolvable' has no initializer and is not definitely assigned in the constructor.
|
|
src/utils/ValidatedServerConfig.ts(28,5): error TS2564: Property 'warning' has no initializer and is not definitely assigned in the constructor.
|
|
src/utils/WellKnownUtils.ts(62,5): error TS2322: Type 'null' is not assignable to type 'IE2EEWellKnown'.
|
|
src/utils/WidgetUtils.ts(32,8): error TS7034: Variable 'WidgetEchoStore' implicitly has type 'any' in some locations where its type cannot be determined.
|
|
src/utils/WidgetUtils.ts(37,20): error TS6142: Module '../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/utils/WidgetUtils.ts(122,21): error TS2531: Object is possibly 'null'.
|
|
src/utils/WidgetUtils.ts(122,49): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/utils/WidgetUtils.ts(146,43): error TS7006: Parameter 'ev' implicitly has an 'any' type.
|
|
src/utils/WidgetUtils.ts(161,36): error TS7006: Parameter 'ev' implicitly has an 'any' type.
|
|
src/utils/WidgetUtils.ts(193,44): error TS7006: Parameter 'evList' implicitly has an 'any' type.
|
|
src/utils/WidgetUtils.ts(194,52): error TS7006: Parameter 'ev' implicitly has an 'any' type.
|
|
src/utils/WidgetUtils.ts(206,42): error TS2531: Object is possibly 'null'.
|
|
src/utils/WidgetUtils.ts(216,45): error TS2531: Object is possibly 'null'.
|
|
src/utils/WidgetUtils.ts(264,17): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/utils/WidgetUtils.ts(299,23): error TS2532: Object is possibly 'undefined'.
|
|
src/utils/WidgetUtils.ts(303,17): error TS2345: Argument of type '{ type: string; url: string | undefined; name: string | undefined; data: object | undefined; avatar_url: string | undefined; } | {}' is not assignable to parameter of type 'IWidget'.
|
|
Type '{ type: string; url: string | undefined; name: string | undefined; data: object | undefined; avatar_url: string | undefined; }' is not assignable to type 'IWidget'.
|
|
Object literal may only specify known properties, and 'avatar_url' does not exist in type 'IWidget'.
|
|
src/utils/WidgetUtils.ts(319,9): error TS7005: Variable 'WidgetEchoStore' implicitly has an 'any' type.
|
|
src/utils/WidgetUtils.ts(326,13): error TS7005: Variable 'WidgetEchoStore' implicitly has an 'any' type.
|
|
src/utils/WidgetUtils.ts(467,73): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/WidgetUtils.ts(494,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/WidgetUtils.ts(555,31): error TS7006: Parameter 'app' implicitly has an 'any' type.
|
|
src/utils/arrays.ts(255,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/arrays.ts(268,13): error TS2532: Object is possibly 'undefined'.
|
|
src/utils/arrays.ts(289,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/arrays.ts(302,23): error TS2461: Type 'T[] | undefined' is not an array type.
|
|
src/utils/createMatrixClient.ts(34,5): error TS7034: Variable 'indexedDB' implicitly has type 'any' in some locations where its type cannot be determined.
|
|
src/utils/createMatrixClient.ts(53,9): error TS7005: Variable 'indexedDB' implicitly has an 'any' type.
|
|
src/utils/createMatrixClient.ts(54,9): error TS2322: Type 'IndexedDBStore' is not assignable to type 'IStore'.
|
|
Types of property 'on' are incompatible.
|
|
Type '<T extends EventEmitterEvents | "degraded">(event: T, listener: Listener<"degraded", EventHandlerMap, T>) => TypedEventEmitter<"degraded", EventHandlerMap, EventHandlerMap>' is not assignable to type '(event: string, handler: (...args: any[]) => void) => void'.
|
|
Types of parameters 'event' and 'event' are incompatible.
|
|
Type 'string' is not assignable to type 'EventEmitterEvents | "degraded"'.
|
|
src/utils/createMatrixClient.ts(55,24): error TS7005: Variable 'indexedDB' implicitly has an 'any' type.
|
|
src/utils/createMatrixClient.ts(61,9): error TS2322: Type 'MemoryStore' is not assignable to type 'IStore'.
|
|
src/utils/createMatrixClient.ts(64,9): error TS7005: Variable 'indexedDB' implicitly has an 'any' type.
|
|
src/utils/createMatrixClient.ts(66,13): error TS7005: Variable 'indexedDB' implicitly has an 'any' type.
|
|
src/utils/direct-messages.ts(77,13): error TS2322: Type 'string | null' is not assignable to type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/utils/direct-messages.ts(96,25): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/direct-messages.ts(102,25): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/direct-messages.ts(125,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/direct-messages.ts(129,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/direct-messages.ts(134,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/utils/direct-messages.ts(149,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/direct-messages.ts(154,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/direct-messages.ts(158,9): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/utils/direct-messages.ts(163,9): error TS2322: Type 'null' is not assignable to type 'string'.
|
|
src/utils/dm/createDmLocalRoom.ts(39,88): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/utils/dm/createDmLocalRoom.ts(50,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(51,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(65,17): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(66,17): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(78,13): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(81,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(82,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(83,9): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(98,13): error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
|
|
src/utils/dm/createDmLocalRoom.ts(119,51): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/utils/dm/findDMForUser.ts(31,70): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
src/utils/dm/findDMForUser.ts(53,16): error TS2531: Object is possibly 'null'.
|
|
src/utils/dm/findDMForUser.ts(54,13): error TS2531: Object is possibly 'null'.
|
|
src/utils/dm/findDMForUser.ts(57,9): error TS2322: Type 'Room | null' is not assignable to type 'Room'.
|
|
Type 'null' is not assignable to type 'Room'.
|
|
src/utils/dm/startDm.ts(78,50): error TS2345: Argument of type 'IInvite3PID' is not assignable to parameter of type 'never'.
|
|
src/utils/dm/startDm.ts(80,45): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
|
|
src/utils/login.ts(17,29): error TS6142: Module '../components/structures/MatrixChat' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/components/structures/MatrixChat.tsx', but '--jsx' is not set.
|
|
src/utils/login.ts(25,24): error TS2339: Property 'matrixChat' does not exist on type 'Window & typeof globalThis'.
|
|
src/utils/maps.ts(27,23): error TS2802: Type 'IterableIterator<K>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/utils/maps.ts(28,23): error TS2802: Type 'IterableIterator<K>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
|
|
src/utils/maps.ts(46,13): error TS2322: Type 'V | undefined' is not assignable to type 'V'.
|
|
'V' could be instantiated with an arbitrary type which could be unrelated to 'V | undefined'.
|
|
src/utils/maps.ts(55,9): error TS2322: Type 'V | undefined' is not assignable to type 'V'.
|
|
'V' could be instantiated with an arbitrary type which could be unrelated to 'V | undefined'.
|
|
src/utils/membership.ts(59,9): error TS7053: Element implicitly has an 'any' type because expression of type 'EffectiveMembership' can't be used to index type 'MembershipSplit'.
|
|
Property '[EffectiveMembership.Join]' does not exist on type 'MembershipSplit'.
|
|
src/utils/membership.ts(89,9): error TS7034: Variable 'handler' implicitly has type 'any' in some locations where its type cannot be determined.
|
|
src/utils/membership.ts(91,28): error TS7006: Parameter '_' implicitly has an 'any' type.
|
|
src/utils/membership.ts(91,31): error TS7006: Parameter '__' implicitly has an 'any' type.
|
|
src/utils/membership.ts(102,57): error TS7005: Variable 'handler' implicitly has an 'any' type.
|
|
src/utils/objects.ts(97,38): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/utils/objects.ts(97,47): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/utils/promise.ts(43,41): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'E'.
|
|
'E' could be instantiated with an arbitrary type which could be unrelated to 'unknown'.
|
|
src/utils/promise.ts(46,13): error TS2322: Type 'unknown' is not assignable to type 'E'.
|
|
'E' could be instantiated with an arbitrary type which could be unrelated to 'unknown'.
|
|
src/utils/promise.ts(49,11): error TS2454: Variable 'lastErr' is used before being assigned.
|
|
src/utils/read-receipts.ts(27,83): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
src/utils/read-receipts.ts(33,29): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(o: {}): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type '{}'.
|
|
Overload 2 of 2, '(o: object): string[]', gave the following error.
|
|
Argument of type 'unknown' is not assignable to parameter of type 'object'.
|
|
src/utils/read-receipts.ts(33,55): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/utils/rooms.ts(25,20): error TS6142: Module '../languageHandler' was resolved to '/home/weeman/git/element/matrix-react-sdk/src/languageHandler.tsx', but '--jsx' is not set.
|
|
src/utils/rooms.ts(75,52): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/utils/rooms.ts(96,27): error TS2531: Object is possibly 'null'.
|
|
src/utils/rooms.ts(131,78): error TS2345: Argument of type 'IInstance | null' is not assignable to parameter of type 'IInstance'.
|
|
Type 'null' is not assignable to type 'IInstance'.
|
|
src/utils/rooms.ts(140,35): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
|
|
Type 'null' is not assignable to type 'string'.
|
|
src/utils/rooms.ts(175,13): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/utils/rooms.ts(176,9): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/utils/rooms.ts(176,29): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/utils/rooms.ts(178,5): error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
|
|
No index signature with a parameter of type 'string' was found on type '{}'.
|
|
src/utils/stringOrderField.ts(74,11): error TS2322: Type '{ index: number; order: string | undefined; }[]' is not assignable to type 'IEntry[]'.
|
|
Type '{ index: number; order: string | undefined; }' is not assignable to type 'IEntry'.
|
|
Types of property 'order' are incompatible.
|
|
Type 'string | undefined' is not assignable to type 'string'.
|
|
Type 'undefined' is not assignable to type 'string'.
|
|
src/utils/strings.ts(44,13): error TS2531: Object is possibly 'null'.
|
|
src/utils/strings.ts(45,13): error TS2531: Object is possibly 'null'.
|
|
src/utils/strings.ts(48,13): error TS2531: Object is possibly 'null'.
|
|
src/utils/strings.ts(63,5): error TS2531: Object is possibly 'null'.
|
|
src/utils/strings.ts(64,5): error TS2531: Object is possibly 'null'.
|
|
src/utils/strings.ts(93,12): error TS2531: Object is possibly 'null'.
|
|
src/widgets/Jitsi.ts(34,13): error TS2564: Property 'domain' has no initializer and is not definitely assigned in the constructor.
|
|
src/widgets/Jitsi.ts(36,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
|
|
src/widgets/Jitsi.ts(73,42): error TS2345: Argument of type '"jitsi"' is not assignable to parameter of type 'undefined'.
|
|
src/widgets/Jitsi.ts(73,56): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'.
|
|
src/widgets/Jitsi.ts(80,9): error TS2322: Type 'unknown' is not assignable to type 'string'.
|
|
src/widgets/Jitsi.ts(92,55): error TS2322: Type 'null' is not assignable to type 'JitsiWidgetData'.
|