angular-dual-listbox
angular-dual-listbox copied to clipboard
Build error "ERROR in node_modules/angular-dual-listbox/lib/basic-list.d.ts(14,9): error TS1086: An accessor cannot be declared in an ambient context."
Getting the below error while run & build.
ERROR in node_modules/angular-dual-listbox/lib/basic-list.d.ts(14,9): error TS1086: An accessor cannot be declared in an ambient context.
While i have the below code in the file which meets this error.
export declare class BasicList { /** Name of the list */ private _name; /** Last element touched */ last: any; /** text filter */ picker: string; dragStart: boolean; dragOver: boolean; pick: Array<any>; list: Array<any>; sift: Array<any>; constructor(name: string); get name(): string; }
Try setting "skipLibCheck": true in tsconfig.json.
"compilerOptions": {
"skipLibCheck": true
}
Thanks a lot @czeckd . That worked !!