Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Conversation

@germain-gg
Copy link
Contributor

@germain-gg germain-gg commented Jun 29, 2021

Migrated as part of my investigation for element-hq/element-web#17753

Requires #6283

@germain-gg germain-gg requested a review from a team June 29, 2021 10:41
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

import { MatrixEvent, Room } from 'matrix-js-sdk/src';
import { TimelineWindow } from 'matrix-js-sdk/src/timeline-window';

import * as sdk from '../../index';
Copy link
Member

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

Copy link
Contributor Author

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?

Copy link
Member

@t3chguy t3chguy Jun 29, 2021

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

germain-gg and others added 2 commits June 29, 2021 12:13
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
@germain-gg germain-gg merged commit 78f1748 into develop Jun 29, 2021
@germain-gg germain-gg deleted the gsouquet/filepanel-typescript branch June 29, 2021 14:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants