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
create-svelte does not export its type definitions, which makes it a bit of a pain to work with in a TypeScript project. It would be helpful for to define types for create-svelte, especially since there is already /types/internal.d.ts.
Describe the proposed solution
Refactor /types/internal.d.ts to also include a declaration for the create function, and reference this file in the package.json for create-svelte.
Alternatives considered
Manually including a type declaration file, and copy-pasting from internal.d.ts
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Describe the problem
create-svelte
does not export its type definitions, which makes it a bit of a pain to work with in a TypeScript project. It would be helpful for to define types forcreate-svelte
, especially since there is already/types/internal.d.ts
.Describe the proposed solution
Refactor
/types/internal.d.ts
to also include a declaration for thecreate
function, and reference this file in thepackage.json
forcreate-svelte
.Alternatives considered
Manually including a type declaration file, and copy-pasting from internal.d.ts
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered: