UNPKG

@nx/angular

Version:

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypre

13 lines 773 B
import type { Tree } from '@nx/devkit'; import type { PropertyDeclaration } from 'typescript'; export type ArgType = 'text' | 'boolean' | 'number' | 'select'; export interface InputDescriptor { name: string; type: ArgType; defaultValue?: string; } export declare function getInputPropertyDeclarations(tree: Tree, path: string): PropertyDeclaration[]; export declare function getComponentProps(tree: Tree, componentPath: string, getArgsDefaultValueFn?: (property: PropertyDeclaration) => string | undefined, useDecoratorName?: boolean): InputDescriptor[]; export declare function getArgType(property: PropertyDeclaration): ArgType; export declare function getArgsDefaultValue(property: PropertyDeclaration): string; //# sourceMappingURL=storybook-inputs.d.ts.map