Skip to content

Commit

Permalink
[next] update initial config message (#23165)
Browse files Browse the repository at this point in the history
This PR updates the initial typescript config message to mention that strict-mode is off by default to maintain expectations about type errors. 

[Tweet](https://twitter.com/timneutkens/status/1372218890260987904?s=20)
  • Loading branch information
Allen Hai authored Apr 25, 2021
1 parent a6ba432 commit 08ee60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/lib/typescript/writeConfigurationDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export async function writeConfigurationDefaults(
chalk.green(
`We detected TypeScript in your project and reconfigured your ${chalk.bold(
'tsconfig.json'
)} file for you.`
)} file for you. Strict-mode is set to ${chalk.bold('false')} by default.`
) + '\n'
)
if (suggestedActions.length) {
Expand Down

0 comments on commit 08ee60d

Please sign in to comment.