UNPKG

1.07 kBTypeScriptView Raw
1export interface OutputTargetAngular {
2 /**
3 * The package name of the component library.
4 * This is used to generate the import statements.
5 */
6 componentCorePackage: string;
7 /**
8 * The path to the proxy file that will be generated. This can be an absolute path
9 * or a relative path from the root directory of the Stencil library.
10 */
11 directivesProxyFile: string;
12 directivesArrayFile?: string;
13 valueAccessorConfigs?: ValueAccessorConfig[];
14 excludeComponents?: string[];
15 includeImportCustomElements?: boolean;
16 customElementsDir?: string;
17 /**
18 * @experimental
19 *
20 * `true` to generate a single component Angular module for each component.
21 */
22 includeSingleComponentAngularModules?: boolean;
23}
24export declare type ValueAccessorTypes = 'text' | 'radio' | 'select' | 'number' | 'boolean';
25export interface ValueAccessorConfig {
26 elementSelectors: string | string[];
27 event: string;
28 targetAttr: string;
29 type: ValueAccessorTypes;
30}
31export interface PackageJSON {
32 types: string;
33}