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
Take the REPL code, but in a Sveltekit project using TypeScript for the purposes of creating an NPM package. The idea here is to collect multiple small components that compose the entirety of Bootstrap's Card component into a single object, exported from index.js as Card.
When applying this strategy, index.d.ts is not generated. There are no visible errors when running npm run package. I can only assume that the problem is in the component typing, as runtime-wise, the trick works (as seen in the REPL).
Describe the bug
Take the REPL code, but in a Sveltekit project using TypeScript for the purposes of creating an NPM package. The idea here is to collect multiple small components that compose the entirety of Bootstrap's Card component into a single object, exported from
index.js
asCard
.When applying this strategy,
index.d.ts
is not generated. There are no visible errors when runningnpm run package
. I can only assume that the problem is in the component typing, as runtime-wise, the trick works (as seen in the REPL).Reproduction
REPL
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: