You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a project with typescript v4 I'm getting these errors:
... is defined as an accessor in class 'Link', but is overridden here in 'TestLink' as an instance property.
Click here
../../node_modules/ember-link/test-support/test-link.d.ts:4:5 - error TS2610: 'isActive' is defined as an accessor in class 'Link', but is overridden here in 'TestLink' as an instance property.
4 isActive: boolean;
~~~~~~~~
../../node_modules/ember-link/test-support/test-link.d.ts:5:5 - error TS2610: 'isActiveWithoutQueryParams' is defined as an accessor in class 'Link', but is overridden here in 'TestLink' as an instance property.
5 isActiveWithoutQueryParams: boolean;
~~~~~~~~~~~~~~~~~~~~~~~~~~
../../node_modules/ember-link/test-support/test-link.d.ts:6:5 - error TS2610: 'isActiveWithoutModels' is defined as an accessor in class 'Link', but is overridden here in 'TestLink' as an instance property.
6 isActiveWithoutModels: boolean;
~~~~~~~~~~~~~~~~~~~~~
../../node_modules/ember-link/test-support/test-link.d.ts:7:5 - error TS2610: 'isEntering' is defined as an accessor in class 'Link', but is overridden here in 'TestLink' as an instance property.
7 isEntering: boolean;
~~~~~~~~~~
../../node_modules/ember-link/test-support/test-link.d.ts:8:5 - error TS2610: 'isExiting' is defined as an accessor in class 'Link', but is overridden here in 'TestLink' as an instance property.
8 isExiting: boolean;
~~~~~~~~~
../../node_modules/ember-link/test-support/test-link.d.ts:9:5 - error TS2610: 'url' is defined as an accessor in class 'Link', but is overridden here in 'TestLink' as an instance property.
9 url: string;
~~~
When running a project with typescript v4 I'm getting these errors:
Click here
Checking https://www.npmjs.com/package/ember-link?activeTab=explore the generated typescript definition file is not compatible with TS v4:
test-support/test-support/test-link.d.ts
It should actually be like this:
Can we pls either patch the
test-link.d.ts
and publish new version or upgrade typescript to v4?The text was updated successfully, but these errors were encountered: