Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): provide explicit return type for …
Browse files Browse the repository at this point in the history
…extract-i18n builder

Fixes: #16934
(cherry picked from commit c515697)
  • Loading branch information
clydin authored and dgp1130 committed Feb 12, 2020
1 parent 77f07c6 commit 62bfe98
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
createBuilder,
targetFromTargetString,
} from '@angular-devkit/architect';
import { WebpackLoggingCallback, runWebpack } from '@angular-devkit/build-webpack';
import { BuildResult, WebpackLoggingCallback, runWebpack } from '@angular-devkit/build-webpack';
import { JsonObject } from '@angular-devkit/core';
import * as path from 'path';
import * as webpack from 'webpack';
Expand Down Expand Up @@ -51,7 +51,10 @@ class InMemoryOutputPlugin {
}
}

export async function execute(options: ExtractI18nBuilderOptions, context: BuilderContext) {
export async function execute(
options: ExtractI18nBuilderOptions,
context: BuilderContext,
): Promise<BuildResult> {
// Check Angular version.
assertCompatibleAngularVersion(context.workspaceRoot, context.logger);

Expand Down

0 comments on commit 62bfe98

Please sign in to comment.