docs: fix typo in upgrade guide example (#30428)

An code snippet from a `package.json` file used `script`
rather than `scripts`.

Fixes #30418

PR Close #30428
This commit is contained in:
likui 2019-05-13 10:01:20 +08:00 committed by Matias Niemelä
parent e3f3b106ac
commit 62332b80da
1 changed files with 1 additions and 1 deletions

View File

@ -1177,7 +1177,7 @@ Finally, you should add some npm scripts in `package.json` to compile the TypeSc
JavaScript (based on the `tsconfig.json` configuration file):
<code-example format="">
"script": {
"scripts": {
"tsc": "tsc",
"tsc:w": "tsc -w",
...