Skip to content

fix(templates/solid-ts): add vite-env.d.ts file - #476

Merged
amrbashir merged 5 commits into
tauri-apps:devfrom
t1nky:dev
Aug 30, 2023
Merged

fix(templates/solid-ts): add vite-env.d.ts file#476
amrbashir merged 5 commits into
tauri-apps:devfrom
t1nky:dev

Conversation

@t1nky

@t1nky t1nky commented Aug 17, 2023

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

  • Bugfix

Does this PR introduce a breaking change?

  • No

Other information

This fixes the following typescript error

image

@amrbashir amrbashir left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should instead add a file like this one https://github.com/vitejs/vite/blob/main/packages/create-vite/template-solid-ts/src/vite-env.d.ts

We don't want to set types field in tsconfig by default and let the user modify it on his own.

Comment thread packages/cli/fragments/fragment-solid-ts/tsconfig.json Outdated
amrbashir
amrbashir previously approved these changes Aug 30, 2023

@amrbashir amrbashir left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution

@amrbashir amrbashir changed the title fix: Fixed type error fix(templates/solid-ts): add vite-env.d.ts file Aug 30, 2023
@amrbashir
amrbashir merged commit 3449afc into tauri-apps:dev Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants