-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
can't run it
ERROR in ../node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts:25:17 - error TS1086: An accessor cannot be declared in an ambient context.
25 private get options();
~~~~~~~
../node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts:26:17 - error TS1086: An accessor cannot be declared in an ambient context.
26 private get optionsWithoutEvents();
~~~~~~~~~~~~~~~~~~~~
../node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts:28:17 - error TS1086: An accessor cannot be declared in an ambient context.
28 private get isCloning();
~~~~~~~~~
../node_modules/ngx-sortablejs/lib/sortablejs.directive.d.ts:30:17 - error TS1086: An accessor cannot be declared in an ambient context.
30 private get overridenOptions();
Activity
kiranruth commentedon Feb 1, 2021
I'm getting the same error. Any solution?
rezilo commentedon Mar 26, 2021
I solved the problem by adding "skipLibCheck": true to tsconfig.json