UNPKG

899 BTypeScriptView 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}
18export declare type ValueAccessorTypes = 'text' | 'radio' | 'select' | 'number' | 'boolean';
19export interface ValueAccessorConfig {
20 elementSelectors: string | string[];
21 event: string;
22 targetAttr: string;
23 type: ValueAccessorTypes;
24}
25export interface PackageJSON {
26 types: string;
27}