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
If we are ever going to check this, this should be done in the kit's type definition using a template literal type. But that will be a breaking change. And it might be somewhat annoying since you can't pass in a variable typed as string. As an alternative, maybe it's more suitable as an eslint rule where it's more opted-in.
dummdidumm
changed the title
Svelte check should detect depends and invalidate without a colon
Depends and invalidate without a colon should be a type error
Apr 25, 2023
Description
depends()
andinvalidate()
require the URI to have a colon:
otherwise they will be subtly broken.Proposed solution
svelte-check should flag when these strings do not have a colon.
Alternatives
No response
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: