Michael Telatynski
706b4d6054
Improve typing ( #2352 )
...
* Fix typing of the store interface
* Fix typed s'more
* re-add check
* Be less dumb
* arg
* Fix types
2022-05-09 11:58:52 +01:00
Michael Telatynski
963c7690b6
Iterate typing to work towards noImplicitAny ( #2061 )
2021-12-14 14:32:35 +00:00
Šimon Brandner
4e14d810c5
Add setCodecPreferences()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-15 17:44:16 +02:00
Šimon Brandner
9431a52abe
Move DesktopCapturerSource out of global.d.ts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-01 18:22:51 +02:00
Šimon Brandner
13c664ad34
Remove Element-specifc screen-sharing code out of the js-sdk
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-01 18:22:45 +02:00
Šimon Brandner
e25a649e1a
Add webkitAudioContext to window
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-19 11:49:18 +02:00
Michael Telatynski
b33429317c
Fix setTimeout/setInterval typing
2021-07-12 09:02:47 +01:00
Michael Telatynski
3effeb7dc4
Merge branch 'develop' of github.com:matrix-org/matrix-js-sdk into t3chguy/ts/4
...
Conflicts:
package.json
src/@types/global.d.ts
src/crypto/key_passphrase.ts
src/crypto/olmlib.ts
src/utils.ts
2021-06-24 17:04:45 +01:00
Michael Telatynski
cf76375ce0
Move Promise::allSettled typing from react-sdk to js-sdk
2021-06-21 21:04:29 +01:00
Hubert Chathi
56a2eeac77
Bump libolm version and update package name.
2021-05-21 16:04:54 -04:00
Šimon Brandner
f630a9f297
Remove export
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-03-06 16:14:12 +01:00
J. Ryan Stinnett
d3775e5cb1
Fix Electron type merging
...
This changes to an interface for Electron types so that other layers can merge
in further APIs as needed.
2021-02-08 15:13:00 +00:00
Šimon Brandner
26e70d6b30
Use contextBridge
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-01-14 08:34:46 +01:00
Šimon Brandner
c4e7c149a4
Type cleanup
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2020-12-26 18:09:38 +01:00
Michael Telatynski
7845957d0d
fix Olm types import
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-10-13 19:43:31 +01:00
Michael Telatynski
62114028d5
Convert aes, key_passphrase, olmlib, and recoverykey to TS
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-10-13 19:28:16 +01:00
David Baker
8632ca6e37
Merge remote-tracking branch 'origin/develop' into revert-1493-revert-1487-dbkr/tsify_call
2020-10-07 15:16:21 +01:00
Hubert Chathi
356ee90417
lint
2020-10-06 18:33:45 -04:00
Hubert Chathi
5dced57724
bump olm release again and fix global.d.ts to work with the olm TS definitions
2020-10-06 17:55:40 -04:00
David Baker
81c95224d1
Revert "Revert "Convert call.js to Typescript & update WebRTC APIs""
2020-10-06 15:21:45 +01:00
David Baker
5733f46f4c
Revert "Convert call.js to Typescript & update WebRTC APIs"
2020-10-06 15:16:32 +01:00
David Baker
53880a4bb2
This is how plurals work
2020-10-06 10:54:51 +01:00
David Baker
7471ff4b0d
Make setSinkId reliable
...
As per comment, this seems to be the way to make setSinkId work reliably on Chrome.
Also don't make our own mediastreams if we don't need to (ie. in a normal call
our tracks should come with their owen MediaStreams).
2020-10-03 16:57:33 +01:00
David Baker
cc4656b36a
Update call.js to use new WebRTC APIs
...
and some other related & semi-related refactoring
2020-10-01 19:15:49 +01:00
David Baker
a78b59010a
Convert call.js to Typescript
...
This does a fairly basic rewriting of the whole file to bring it up
to a vaguely modern standard of code. Nothing should have changed
fundamentally, but it probably should do: as per the global type
overrides, we use a lot of deprecated WebRTC APIs and should probably
update.
2020-09-30 18:54:48 +01:00
Hubert Chathi
6bdbee533c
TypeScript and doc fixes
2020-09-14 18:53:48 -04:00
Michael Telatynski
8cca3392f6
fix localStorage type
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-21 12:03:25 +01:00
Michael Telatynski
77a1fc9e60
Convert bunch of things to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-21 11:45:54 +01:00