UNPKG

@o3r/schematics

Version:

Schematics module of the Otter framework

15 lines 659 B
import { type Rule } from '@angular-devkit/schematics'; import type { SchematicWrapper } from '@o3r/telemetry'; /** * Wrapper method of a schematic to retrieve some metrics around the schematic run * if `@o3r/telemetry` is installed * NOTE: please do not use it directly, instead use {@link createOtterSchematic} to wrap your schematic * @param schematicFn */ export declare const createSchematicWithMetricsIfInstalled: SchematicWrapper; /** * Wrapper method of an Otter schematics * @param schematicFn */ export declare const createOtterSchematic: (schematicFn: (options: any) => Rule) => (options: any) => Rule; //# sourceMappingURL=wrapper.d.ts.map