MCPcopy Create free account
hub / github.com/angular/dev-infra / constructor

Function constructor

ng-dev/pr/common/validation/validation-config.ts:46–49  ·  view source on GitHub ↗
(
    protected name: keyof PullRequestValidationConfig,
    protected _createError: PullRequestValidationErrorCreateFn,
  )

Source from the content-addressed store, hash-verified

44 */
45export abstract class PullRequestValidation {
46 constructor(
47 protected name: keyof PullRequestValidationConfig,
48 protected _createError: PullRequestValidationErrorCreateFn,
49 ) {}
50
51 /** Assertion function to be defined for the specific validator. */
52 abstract assert(...parameters: unknown[]): void | Promise<void>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected