Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLEANUP beta] Remove template-compiler.registerPlugin #19704

Merged
merged 1 commit into from Aug 22, 2021
Merged

[CLEANUP beta] Remove template-compiler.registerPlugin #19704

merged 1 commit into from Aug 22, 2021

Conversation

nlfurniss
Copy link
Contributor

@nlfurniss nlfurniss commented Aug 18, 2021

@mixonic mixonic dismissed their stale review August 20, 2021 02:16

Comment addressed

Copy link
Sponsor Member

@mixonic mixonic left a comment

Choose a reason for hiding this comment

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

Very close, awesome work

@@ -80,110 +79,3 @@ interface LegacyPlugin {
}

export type LegacyPluginClass = new (env: ASTPluginEnvironment) => LegacyPlugin;
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

I think this can be removed now. There is a referencing in a typing file I'm not sure exactly how to unravel (seems to be entangled with a __raw property?) but do you think it can also be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it can be, but because I’m a TS noob I wasn’t sure how 😓

@mixonic mixonic mentioned this pull request Aug 22, 2021
58 tasks
@mixonic mixonic dismissed their stale review August 22, 2021 19:24

I took a stab at removing the interface. It is awkward (I left a comment in the code and pinged the #st-typescript channel on Discord) but I think satisfactory.

@mixonic
Copy link
Sponsor Member

mixonic commented Aug 22, 2021

Thank you @nlfurniss !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants