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
Such issues can break e.g. CI builds using svelte-check, so it would be helpful to be able to ignore such errors if they are determined to be false positives.
Proposed solution
Extend svelte-ignore comments with the ability to ignore all or specific TS errors. E.g.
<!-- svelte-ignore ts --> - Ignore all TS errors
<!-- svelte-ignore ts-2322 --> - Ignore an error with a specific ID (this would be the one of the issue linked above)
Alternatively another type of special comment could be introduced if overloading the existing one is undesirable for some reason.
Alternatives
N/A
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered:
Description
Sometimes certain TS issues are in markup and the tooling is unable to resolve them.
E.g. issues with
bind:this
as seen here:bind:this
/svelte:element
#1913Such issues can break e.g. CI builds using
svelte-check
, so it would be helpful to be able to ignore such errors if they are determined to be false positives.Proposed solution
Extend
svelte-ignore
comments with the ability to ignore all or specific TS errors. E.g.<!-- svelte-ignore ts -->
- Ignore all TS errors<!-- svelte-ignore ts-2322 -->
- Ignore an error with a specific ID (this would be the one of the issue linked above)Alternatively another type of special comment could be introduced if overloading the existing one is undesirable for some reason.
Alternatives
N/A
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: