Unverified Commit 9028a169 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

Add typescript version to next-info (#49346)

typescript version could be helpful for determing user's problem with ts, especially typing with react
parent 061443f8
......@@ -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
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment