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 you create a component ex. Example.svelte and a svelte-file ex. example.svelte.ts it won't generate a example.svelte.d.ts causing type errors;
If you create a class ex class Example and import that into a file with the same name Example.svelte ― it will have duplicate types after svelte-package
1st needs (perhaps) to be case-sensitive when checking if file exists.
2nd I think might inquire a warning, as I did do local testing on the library with no issues, published it, only for it to be "unusable" when I put it into use in a different project (ex. svelte-tably).
(Which is a shame, because svelte-tably is my hackathon entry and I cannot make changes to it🤣)
The text was updated successfully, but these errors were encountered:
Describe the bug
If you create a component ex.
Example.svelte
and a svelte-file ex.example.svelte.ts
it won't generate aexample.svelte.d.ts
causing type errors;If you create a class ex
class Example
and import that into a file with the same nameExample.svelte
― it will have duplicate types after svelte-packageReproduction
https://github.com/Refzlund/svelte-package-bug
Logs
System Info
Severity
annoyance
Additional Information
1st needs (perhaps) to be case-sensitive when checking if file exists.
2nd I think might inquire a warning, as I did do local testing on the library with no issues, published it, only for it to be "unusable" when I put it into use in a different project (ex. svelte-tably).
(Which is a shame, because svelte-tably is my hackathon entry and I cannot make changes to it🤣)
The text was updated successfully, but these errors were encountered: