From 71f5d1bf339dcfa10bddf1e2542b445a0c839c98 Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Tue, 12 Nov 2024 10:29:44 +0400 Subject: [PATCH] add type to hyperwebBuildOptions extracted from build.initialOptions --- packages/build/src/schemaExtractor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/build/src/schemaExtractor.ts b/packages/build/src/schemaExtractor.ts index ab379a2..3e23f13 100644 --- a/packages/build/src/schemaExtractor.ts +++ b/packages/build/src/schemaExtractor.ts @@ -18,7 +18,7 @@ export const schemaExtractorPlugin = ( name: 'schema-extractor', setup(build) { - const hyperwebBuildOptions = build.initialOptions; + const hyperwebBuildOptions: HyperwebBuildOptions = build.initialOptions; build.onEnd(async () => { const baseDir = pluginOptions.baseDir || process.cwd();