File tree 1 file changed +3
-3
lines changed
packages/angular_devkit/core/src/json/schema
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ export class CoreSchemaRegistry implements SchemaRegistry {
258
258
return Promise . reject ( err ) ;
259
259
} ) ) ;
260
260
} ) ,
261
- switchMap ( ( [ data , valid ] ) => {
261
+ switchMap ( ( [ data , valid ] : [ JsonValue , boolean ] ) => {
262
262
if ( ! validationOptions . withPrompts ) {
263
263
return observableOf ( [ data , valid ] ) ;
264
264
}
@@ -274,7 +274,7 @@ export class CoreSchemaRegistry implements SchemaRegistry {
274
274
return observableOf ( [ data , valid ] ) ;
275
275
}
276
276
} ) ,
277
- switchMap ( ( [ data , valid ] ) => {
277
+ switchMap ( ( [ data , valid ] : [ JsonValue , boolean ] ) => {
278
278
if ( valid ) {
279
279
return observableOf ( data ) . pipe (
280
280
...[ ...this . _post ] . map ( visitor => concatMap ( ( data : JsonValue ) => {
@@ -287,7 +287,7 @@ export class CoreSchemaRegistry implements SchemaRegistry {
287
287
return observableOf ( [ data , valid ] ) ;
288
288
}
289
289
} ) ,
290
- map ( ( [ data , valid ] ) => {
290
+ map ( ( [ data , valid ] : [ JsonValue , boolean ] ) => {
291
291
if ( valid ) {
292
292
return { data, success : true } as SchemaValidatorResult ;
293
293
}
You can’t perform that action at this time.
0 commit comments