Hugh Nimmo-Smith
ff1db2b538
Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule ( #4680 )
...
* Bump eslint-plugin-matrix-org to enable @typescript-eslint/consistent-type-imports rule
* Re-lint after merge
2025-02-05 12:15:20 +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
R Midhun Suresh
88d066a10c
Fix reemitter not being correctly wired on user objects created in storage classes ( #3796 )
...
* Fix issue
* Fix jest test
* Fix even more jest failures
* Fix formatting
* Add a test
* Write test for older code
* Fix lint
* Rename method
* Make ctor deprecated
2023-10-27 07:00:13 +00:00
Johannes Marbach
65cbbaaf01
Use sender instead of content.creator field on m.room.create events ( #3675 )
...
* Use sender instead of content.creator field on m.room.create events
* Restore room_version fields in fixtures
* Add test case for undefined sender scenario
2023-08-24 11:58:04 +00:00
Eric Eastwood
c67325ba07
Add matrix-org/jest
linting ( #2973 )
2023-02-10 12:05:40 +01:00
Michael Weimann
349c2c2587
Apply prettier formatting
2022-12-09 09:38:20 +01:00
Michael Telatynski
12a4d2a749
Make more of the code conform to Strict TSC ( #2756 )
2022-10-14 15:57:08 +01: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