Skip to content

Commit

Permalink
Update Typescript to 5.1.6
Browse files Browse the repository at this point in the history
We can now update Typescript - it was previously broken with Cypress for
those using `typeRoots` but the fix is to specify the node_modules
folder so it can find Cypress.[1]

[1] cypress-io/cypress#26930
  • Loading branch information
Harriethw committed Jun 30, 2023
1 parent 5c5a181 commit 07a7ae0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion integration_tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"lib": ["es5", "dom", "es2015.promise"],
"types": ["cypress"],
"esModuleInterop": true,
"typeRoots": ["../server/@types", "../node_modules/@types"],
"typeRoots": ["../node_modules", "../server/@types", "../node_modules/@types"],
"resolveJsonModule": true,
"moduleResolution": "node",
"baseUrl": ".",
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,6 @@
"start-server-and-test": "^2.0.0",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
"typescript": "^5.1.6"
}
}

0 comments on commit 07a7ae0

Please sign in to comment.