UNPKG

@o3r/schematics

Version:

Schematics module of the Otter framework

14 lines 679 B
import type { Rule } from '@angular-devkit/schematics'; /** * Factory of the schematic to wrap * @param options Options of the factory */ type SchematicWrapperFn<S extends Record<string, any>> = (options: S) => Rule; /** * Wrapper method of a schematic to retrieve options from workspace and merge it with the one from the run of the schematic * NOTE: please do not use it directly, instead use {@link createOtterSchematic} to wrap your schematic * @param schematicFn */ export declare function createSchematicWithOptionsFromWorkspace<S extends Record<string, any>>(schematicFn: SchematicWrapperFn<S>): SchematicWrapperFn<S>; export {}; //# sourceMappingURL=index.d.ts.map