Skip to content

Commit

Permalink
add type to hyperwebBuildOptions extracted from build.initialOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Nov 12, 2024
1 parent 4107526 commit 71f5d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/build/src/schemaExtractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 71f5d1b

Please sign in to comment.