From 62332b80daec33c332fec9869371256a76b1acde Mon Sep 17 00:00:00 2001 From: likui <2218301630@qq.com> Date: Mon, 13 May 2019 10:01:20 +0800 Subject: [PATCH] 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 --- aio/content/guide/upgrade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/upgrade.md b/aio/content/guide/upgrade.md index c98254cbd7..75f0d3b95e 100644 --- a/aio/content/guide/upgrade.md +++ b/aio/content/guide/upgrade.md @@ -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): - "script": { + "scripts": { "tsc": "tsc", "tsc:w": "tsc -w", ...