UNPKG

@schematics/angular

Version:
26 lines (25 loc) 600 B
/** * Creates a new, generic interceptor definition in the given or default project. */ export interface Schema { /** * When true (the default), creates files at the top level of the project. */ flat?: boolean; /** * The name of the interceptor. */ name: string; /** * The path at which to create the interceptor, relative to the workspace root. */ path?: string; /** * The name of the project. */ project?: string; /** * Do not create "spec.ts" test files for the new interceptor. */ skipTests?: boolean; }