Michael Telatynski
93f825a34f
Stash jest->vitest migration
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-05 13:15:13 +00:00
Florian Duros
c54ca29aa8
Rename initCrypto
into initLegacyCrypto
( #4567 )
2024-12-05 11:08:38 +00:00
Will Hunt
f6a169b5a5
Replace usages of global
with globalThis
( #4489 )
...
* Update src with globalThis
* Update spec with globalThis
* Replace in more spec/ places
* More changes to src/
* Add a linter rule for global
* Prettify
* lint
2024-11-01 09:15:21 +00:00
Andy Balaam
92342c07ed
Introduce Membership TS type (take 2) ( #4107 )
...
* Introduce Membership TS type
* Adapt the Membership TS type to be an enum
* Add docstrings for KnownMembership and Membership
* Move Membership types into a separate file, exported from types.ts
---------
Co-authored-by: Stanislav Demydiuk <s.demydiuk@gmail.com >
2024-03-18 12:47:23 +00:00
Michael Weimann
349c2c2587
Apply prettier formatting
2022-12-09 09:38:20 +01:00
Michael Telatynski
c4006d752a
Improve tsdoc types ( #2940 )
...
* Install eslint-plugin-jsdoc
* Enable lint rule jsdoc/no-types
* Make tsdoc more valid, add required hyphens and s/return/returns/g
* Stash tsdoc work
* Fix mistypes
* Stash
* Stash
* More tsdoc work
* Remove useless doc params
* Fixup docs
* Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/crypto/verification/request/ToDeviceChannel.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/client.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/client.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/client.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Iterate
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2022-12-07 18:01:54 +00:00
Michael Telatynski
8d018f9c2d
Enable noImplicitAny ( #2895 )
...
* Stash noImplicitAny work
* Enable noImplicitAny
* Update olm
* Fun
* Fix msgid stuff
* Fix tests
* Attempt to fix Browserify
2022-12-06 18:21:44 +00:00
Kerry
a1b046b5d8
test typescriptification - spec/integ ( #2714 )
...
* renamed: spec/integ/devicelist-integ.spec.js -> spec/integ/devicelist-integ.spec.ts
* fix ts issue in devicelist-integ.spec
* renamed: spec/integ/matrix-client-event-emitter.spec.js -> spec/integ/matrix-client-event-emitter.spec.ts
* ts issues in matrix-client-event-emitter integ
* strict fixes
* renamed: spec/integ/matrix-client-methods.spec.js -> spec/integ/matrix-client-methods.spec.ts
* fix ts issues
* renamed: spec/integ/matrix-client-opts.spec.js -> spec/integ/matrix-client-opts.spec.ts
* ts fixes in matrix-client-methods / matrix-client-opts
* renamed: spec/integ/matrix-client-room-timeline.spec.js -> spec/integ/matrix-client-room-timeline.spec.ts
* most ts fixes in matrix-client-room-timeline
* remove obsoleted prev_events from mockenvents
* make xmlhttprequest ts
* strict errors in matrix-client-event-timeline spec
* strict in devicelist
* strict fixes in matrix-client-crypto.spec
* strict fixes in spec/integ/matrix-client-room-timeline
* strict issues in matrix-client-opts.specc
* strict issues in matrix-client-syncing
* strict issues in spec/integ/megolm
* strict fixes in spec/integ/matrix-client-retrying.spec
* strict fixes for spec/integ/sliding-sync
* eslint fixes
* more strict errors sneaking in from develop
* kill al httpbackends
* kill matrix-client-methods.spec httpbackend properly
2022-10-06 08:11:25 +02:00