From 110b1ba57fbeb8c511850f476cd6d26bcbe8f567 Mon Sep 17 00:00:00 2001 From: Aron Date: Tue, 26 Nov 2024 10:36:53 +0800 Subject: [PATCH] Change BuildOptions type declaration to interface --- packages/techor/src/commands/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/techor/src/commands/build.ts b/packages/techor/src/commands/build.ts index 2903726..3900ef0 100644 --- a/packages/techor/src/commands/build.ts +++ b/packages/techor/src/commands/build.ts @@ -27,7 +27,7 @@ import preserveDirectives from 'rollup-plugin-preserve-directives' declare type OutputResult = (BuildOutputOptions & { artifact: (RollupOutputAsset | RollupOutputChunk) }) declare type BuildOutputOptions = BuildCommonOptions & { output: RollupOutputOptions } -declare type BuildOptions = { +declare interface BuildOptions { input: RollupInputOptions, outputOptionsList: BuildOutputOptions[] }