File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -345,17 +345,19 @@ module.exports = {
345345 /**
346346 * Call this if you plan on loading TypeScript files.
347347 *
348+ * Encore.enableTypeScriptLoader()
349+ *
350+ * Or, configure the ts-loader options:
351+ *
348352 * Encore.enableTypeScriptLoader(function(tsConfig) {
349- * // change the tsConfig
353+ * // https://github.com/TypeStrong/ts-loader/blob/master/README.md#loader-options
354+ * // tsConfig.silent = false;
350355 * });
351356 *
352- * Supported configuration options:
353- * @see https://github.com/TypeStrong/ts-loader/blob/master/README.md#available-options
354- *
355357 * @param {function } callback
356358 * @return {exports }
357359 */
358- enableTypeScriptLoader ( callback ) {
360+ enableTypeScriptLoader ( callback = ( ) => { } ) {
359361 webpackConfig . enableTypeScriptLoader ( callback ) ;
360362 } ,
361363
You can’t perform that action at this time.
0 commit comments