Skip to content

Commit

Permalink
refactor(@angular-devkit/build-angular): increase type safety in bund…
Browse files Browse the repository at this point in the history
…le-context

Currently the `result` variable will be set to `any` which caused a large part of this file not to be safely typed.

(cherry picked from commit bac79d4)
  • Loading branch information
alan-agius4 committed Jan 25, 2024
1 parent 2e75202 commit 33662ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class BundlerContext {
this.watchFiles.clear();
}

let result;
let result: BuildResult<{ metafile: true; write: false }>;
try {
if (this.#esbuildContext) {
// Rebuild using the existing incremental build context
Expand Down

0 comments on commit 33662ac

Please sign in to comment.