Skip to content

Commit

Permalink
feat: change extendDirectives signature
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKruckenberg committed Mar 16, 2021
1 parent cae242e commit b6ac8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface PluginOptions {
* This list will be merged with the builtin directives before applying them to the input image.
* @default []
*/
extendDirectives?: (builtins: Record<string, Directive>) => Record<string, Directive>
extendDirectives?: (builtins: Directive[]) => Directive[]

/**
* You can use this option to extend the builtin list of output formats.
Expand Down

0 comments on commit b6ac8b3

Please sign in to comment.