Skip to content

Commit 8717a1c

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: Add missing information about tsconfig.json
2 parents b672b28 + 18b0def commit 8717a1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/encore/typescript.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Want to use `TypeScript`_? No problem! First, enable it:
2020
+ //.enableForkedTypeScriptTypesChecking()
2121
;
2222
23+
Then create an empty ``tsconfig.json`` file with the contents ``{}`` in the project
24+
root folder (or in the folder where your TypeScript files are located; e.g. ``assets/``).
25+
In ``tsconfig.json`` you can define more options, as shown in `tsconfig.json reference`_.
26+
2327
Then restart Encore. When you do, it will give you a command you can run to
2428
install any missing dependencies. After running that command and restarting
2529
Encore, you're done!

0 commit comments

Comments
 (0)