Skip to content

Commit

Permalink
Add typescript version to next-info (#49346)
Browse files Browse the repository at this point in the history
typescript version could be helpful for determing user's problem with ts, especially typing with react
  • Loading branch information
huozhi committed May 6, 2023
1 parent 061443f commit 9028a16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/next/src/cli/next-info.ts
Expand Up @@ -52,7 +52,7 @@ const nextInfo: CliCommand = async (argv) => {
`
Description
Prints relevant details about the current system which can be used to report Next.js bugs
Usage
$ next info
Expand Down Expand Up @@ -80,6 +80,7 @@ const nextInfo: CliCommand = async (argv) => {
eslint-config-next: ${getPackageVersion('eslint-config-next')}
react: ${getPackageVersion('react')}
react-dom: ${getPackageVersion('react-dom')}
typescript: ${getPackageVersion('typescript')}
`)

try {
Expand Down

0 comments on commit 9028a16

Please sign in to comment.