Skip to content

Commit

Permalink
bug/issue 1250 forgot to Extract type for copy plugin definition (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Mar 9, 2025
1 parent 9da036a commit 9629b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/types/plugins.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface ContextPlugin extends Plugin {

// https://greenwoodjs.dev/docs/reference/plugins-api/#copy
export interface CopyPlugin extends Plugin {
type: Pick<PLUGIN_TYPES, "copy">;
type: Extract<PLUGIN_TYPES, "copy">;
provider: (compilation: Compilation) => Promise<{ from: URL; to: URL }[]>;
}

Expand Down

0 comments on commit 9629b27

Please sign in to comment.