Closed charlie884 closed 6 years ago
I have same problem
Same or similar problem here
node_modules/nativescript-accordion/angular/index.d.ts(103,14): error TS2416: Property 'nativeElement' in type 'AccordionComponent' is not assignable to the same property in base type 'AccordionItemsComponent'. Type 'Accordion' is not assignable to type 'AccordionItemsView'. Types of property 'itemContentTemplateSelector' are incompatible. Type 'string | ((item: any, parentIndex: number, index: number, items: any) => string)' is not assignable to type 'string | ((item: any, index: number, items: any) => string)'. Type '(item: any, parentIndex: number, index: number, items: any) => string' is not assignable to type 'string | ((item: any, index: number, items: any) => string)'. Type '(item: any, parentIndex: number, index: number, items: any) => string' is not assignable to type '(item: any, index: number, items: any) => string'. node_modules/nativescript-accordion/angular/index.d.ts(104,15): error TS2416: Property 'accordionItemsView' in type 'AccordionComponent' is not assignable to the same property in base ty pe 'AccordionItemsComponent'. Type 'Accordion' is not assignable to type 'AccordionItemsView'.
Upgrade to 6.0.0-beta.1
😄
Hi, i found a new issues when i try to build the project.
[18-10-23 11:03:23.238] (CLI) node_modules/nativescript-accordion/angular/index.d.ts(103,14): error TS2416: Property 'nativeElement' in type 'AccordionComponent' is not assignable to the same property in base type 'AccordionItemsComponent'. [18-10-23 11:03:23.238] (CLI) Type 'Accordion' is not assignable to type 'AccordionItemsView'. [18-10-23 11:03:23.238] (CLI) Types of property 'itemContentTemplateSelector' are incompatible. [18-10-23 11:03:23.238] (CLI) Type 'string | ((item: any, parentIndex: number, index: number, items: any) => string)' is not assignable to type 'string | ((item: any, index: number, items: any) => string)'. [18-10-23 11:03:23.238] (CLI) Type '(item: any, parentIndex: number, index: number, items: any) => string' is not assignable to type 'string | ((item: any, index: number, items: any) => string)'. [18-10-23 11:03:23.238] (CLI) Type '(item: any, parentIndex: number, index: number, items: any) => string' is not assignable to type '(item: any, index: number, items: any) => string'. [18-10-23 11:03:23.238] (CLI) node_modules/nativescript-accordion/angular/index.d.ts(104,15): error TS2416: Property 'accordionItemsView' in type 'AccordionComponent' is not assignable to the same property in base type 'AccordionItemsComponent'. [18-10-23 11:03:23.238] (CLI) Type 'Accordion' is not assignable to type 'AccordionItemsView'.