-
-
Notifications
You must be signed in to change notification settings - Fork 827
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM otherwise
import { EventTimelineSet } from "matrix-js-sdk/src/models/event-timeline-set"; | ||
import { MatrixEvent, Room } from 'matrix-js-sdk/src'; | ||
import { TimelineWindow } from 'matrix-js-sdk/src/timeline-window'; | ||
|
||
import * as sdk from '../../index'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good to kill this off during this conversion imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I'm aware it's still needed for tests sometimes?
Under what circumstances is it acceptable to remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well this'll be for the getComponent
calls below, my point was we can probably eradicate them by switching to type-safe imports
Co-authored-by: Michael Telatynski <[email protected]>
Migrated as part of my investigation for element-hq/element-web#17753
Requires #6283