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." #127
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; }
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; }