From fe4bf620b5581c8024db9747ab270175bea9a1ed Mon Sep 17 00:00:00 2001 From: kallard1 <31655652+kallard1@users.noreply.github.com> Date: Sun, 27 May 2018 17:03:34 +0200 Subject: [PATCH] Update typescript.rst `configFileName` was renamed in `configFile` --- frontend/encore/typescript.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/encore/typescript.rst b/frontend/encore/typescript.rst index 14db0fac5a0..7298da0df84 100644 --- a/frontend/encore/typescript.rst +++ b/frontend/encore/typescript.rst @@ -28,7 +28,7 @@ also configure the `ts-loader options`_ via a callback: .enableTypeScriptLoader(function (typeScriptConfigOptions) { typeScriptConfigOptions.transpileOnly = true; - typeScriptConfigOptions.configFileName = '/path/to/tsconfig.json'; + typeScriptConfigOptions.configFile = '/path/to/tsconfig.json'; }); If React assets are enabled (``.enableReactPreset()``), any ``.tsx`` file will be