schema-option-transform.d.ts 840 B

1234567891011121314
  1. /**
  2. * @license
  3. * Copyright Google Inc. All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. import { schema } from '@angular-devkit/core';
  9. import { Observable } from 'rxjs';
  10. import { FileSystemSchematicDescription } from './description';
  11. export declare class InvalidInputOptions<T = {}> extends schema.SchemaValidationException {
  12. constructor(options: T, errors: schema.SchemaValidatorError[]);
  13. }
  14. export declare function validateOptionsWithSchema(registry: schema.SchemaRegistry): <T extends {}>(schematic: FileSystemSchematicDescription, options: T, context?: import("../src/index").TypedSchematicContext<import("./description").FileSystemCollectionDescription, FileSystemSchematicDescription> | undefined) => Observable<T>;