mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 02:24:10 +08:00
fix(@angular-devkit/architect): fix for newest version of rxjs
This commit is contained in:
parent
fb8deb06d3
commit
77d4dd9733
@ -61,7 +61,8 @@ function _createJobHandlerFromBuilderInfo(
|
||||
// Validate v against the options schema.
|
||||
return registry.compile(info.optionSchema).pipe(
|
||||
concatMap(validation => validation(options)),
|
||||
map(({ data, success, errors }) => {
|
||||
map((validationResult: json.schema.SchemaValidatorResult) => {
|
||||
const { data, success, errors } = validationResult;
|
||||
if (success) {
|
||||
return { ...v, options: data } as BuilderInput;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user