From b6ac8b34581b84a6d6861a2b7ecc2f22f569e257 Mon Sep 17 00:00:00 2001 From: JonasKruckenberg Date: Tue, 16 Mar 2021 17:54:13 +0100 Subject: [PATCH] feat: change extendDirectives signature --- packages/vite/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/types.ts b/packages/vite/src/types.ts index b60c577a..8de325a9 100644 --- a/packages/vite/src/types.ts +++ b/packages/vite/src/types.ts @@ -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) => Record + extendDirectives?: (builtins: Directive[]) => Directive[] /** * You can use this option to extend the builtin list of output formats.