jkuri / ngx-slimscroll

Customizable Scrollbar Directive for Angular

Home Page:https://ngx-slimscroll.jankuri.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Import declaration conflict" after upgrading to Angular 9 (TypeScript 3.7)

SamuelWr opened this issue · comments

After upgrading to Angular 9 I get compile errors from this package.
node_modules/ngx-slimscroll/dist/app/ngx-slimscroll/classes/slimscroll-options.class.d.ts:1:10 - error TS2440: Import declaration conflicts with local declaration of 'ISlimScrollOptions'.

It seems that import { ISlimScrollOptions } from './slimscroll-options.class'; on line 1 conflicts with export interface ISlimScrollOptions { on line 3

See: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#local-and-imported-type-declarations-now-conflict

upvote

I have the same issue

anyone can fix it?

Having the same issue, has anyone found a workaround ?

I'm having the same issue too...

I am also facing same issue.

Same issue here, have there been any updates about this yet?

PRs welcome

I will check on it later today.

done with b950ffb