diff --git a/frontend/encore/typescript.rst b/frontend/encore/typescript.rst index c3f3b443c81..14db0fac5a0 100644 --- a/frontend/encore/typescript.rst +++ b/frontend/encore/typescript.rst @@ -9,7 +9,7 @@ Want to use `TypeScript`_? No problem! First, install the dependencies: Then, activate the ``ts-loader`` in ``webpack.config.js``: -.. code-block:: diff +.. code-block:: javascript // webpack.config.js // ... @@ -48,7 +48,7 @@ process, which can speedup compile time. To enable it, install the plugin: Then enable it by calling: -.. code-block:: diff +.. code-block:: javascript // webpack.config.js