ng-packagr
Version:
Compile and package Angular libraries in Angular Package Format (APF)
9 lines (8 loc) • 356 B
TypeScript
import { NgPackageConfig } from '../../ng-package.schema';
/**
* Validates the `ngPackageJson` value against the JSON schema using ajv. An error is thrown if
* schema errors are found.
*
* @param ngPackageJson The value to validate.
*/
export declare function validateNgPackageSchema(ngPackageJson: unknown): asserts ngPackageJson is NgPackageConfig;