Skip to content

Commit

Permalink
fix: solve 'cannot find name' warning at test files
Browse files Browse the repository at this point in the history
  • Loading branch information
shootermv committed Jul 22, 2024
1 parent 0789750 commit d3f0c78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx pretty-quick --staged
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"noImplicitAny": true,
"moduleResolution": "node",
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["vite/client"],
"types": ["vite/client", "vitest/globals"],
"isolatedModules": true
}
}

0 comments on commit d3f0c78

Please sign in to comment.