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:
parent
e3f3b106ac
commit
62332b80da
|
@ -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):
|
JavaScript (based on the `tsconfig.json` configuration file):
|
||||||
|
|
||||||
<code-example format="">
|
<code-example format="">
|
||||||
"script": {
|
"scripts": {
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue