Skip to content

Extending ToastRootProps in vite library mode throws typescript error #946

Closed Answered by hrubysi
hrubysi asked this question in Q&A
Discussion options

You must be logged in to vote

I found two solutions for this:

  1. Adding baseUrl: "." to tsconfig
  2. Changing nodeResolution from bundler to node

By reading ts docs, none of the two should really be used, so that leaves me confused.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@zernonia
Comment options

@hrubysi
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hrubysi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants