Skip to content

feat(core): mark installed plugins - #2561

Merged
hiyuki merged 6 commits into
masterfrom
feat-add-plugin-installed-flag
Sep 9, 2026
Merged

feat(core): mark installed plugins#2561
hiyuki merged 6 commits into
masterfrom
feat-add-plugin-installed-flag

Conversation

@Blackgan3

Copy link
Copy Markdown
Collaborator
  • plugin use 增加 installed 标识

Comment thread packages/core/@types/index.d.ts Outdated
__installed?: boolean
}

export type Plugin = PluginInstallFunction | {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

改成这种不就好了

type Plugin = (PluginInstallFunction | {
  install: PluginInstallFunction
}) & {__installed?: boolean}

@hiyuki
hiyuki merged commit 65bfbfa into master Sep 9, 2026
6 checks passed
@hiyuki
hiyuki deleted the feat-add-plugin-installed-flag branch September 9, 2026 04:51
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.

2 participants