Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update tsconfig setup instructions in the README #621

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gnapse
Copy link
Member

@gnapse gnapse commented Aug 2, 2024

What:

Fixes #620

Checklist:

  • Documentation
  • Ready to be merged

Choose a reason for hiding this comment

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

Instead of these changes, we should add "./vitest.setup.ts" next to "./jest-setup.ts", to make it a bit more obvious.

It appears that a few users are missing out the setup step for TypeScript when using a *.setup.ts file. Perhaps we should add a reference to it in other sections and also make the below line bold?

If you're using TypeScript, make sure your setup file is a .ts and not a .js to include the necessary types

If you're using TypeScript, make sure your setup file is a .ts and not a .js to include the necessary types

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.

Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
2 participants