We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7e8a5 commit b8ec243Copy full SHA for b8ec243
postinstall.js
@@ -69,7 +69,7 @@ function installTypescript({force = false} = {}) {
69
if (installedTypeScriptVersion && !force) {
70
console.log("Project already targets TypeScript " + installedTypeScriptVersion);
71
} else {
72
- const command = force ? "npm install -D typescript" : "npm update -D typescript";
+ const command = force ? "npm install -D typescript@latest" : "npm update -D typescript";
73
74
console.log("Installing TypeScript...");
75
0 commit comments