Skip to content

Fix tsconfig and typechecking - #2200

Merged
coolsoftwaretyler merged 3 commits into
mobxjs:masterfrom
thegedge:add-types
Jul 21, 2024
Merged

coolsoftwaretyler merged 3 commits into
mobxjs:masterfrom
thegedge:add-types

Conversation

@thegedge

Copy link
Copy Markdown
Collaborator

What does this PR do and why?

This PR does two things:

  1. Updates tsconfig.json so we start typechecking tests, and
  2. adds @types/jest, which was missing and noticed after (1).

Steps to validate locally

  • Check out the first commit in this PR
  • rm -rf node_modules
  • bun install
  • bun typecheck

That should fail. Check out the HEAD of this branch and then bun install and typecheck again, everything should pass.

Comment thread tsconfig.json
Comment thread package.json Outdated
@coolsoftwaretyler

Copy link
Copy Markdown
Collaborator

I'm going to merge this so we can unblock #2199.

@coolsoftwaretyler
coolsoftwaretyler merged commit 7f3545c into mobxjs:master Jul 21, 2024
@thegedge
thegedge deleted the add-types branch November 9, 2024 16:08
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