From ce45522df6af6d9c0288495695473cca70f1a2c5 Mon Sep 17 00:00:00 2001 From: "Andrey \"Zed\" Zaikin" Date: Mon, 12 Feb 2024 16:08:36 +0200 Subject: [PATCH] docs: fix typo in json schema --- .../build_angular/src/tools/esbuild/angular/compiler-plugin.ts | 2 +- .../build_angular/src/tools/webpack/plugins/typescript.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts b/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts index 6750765e02ec..e0d0c1507ec7 100644 --- a/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts +++ b/packages/angular_devkit/build_angular/src/tools/esbuild/angular/compiler-plugin.ts @@ -476,7 +476,7 @@ function createCompilerOptionsTransformer( notes: [ { text: - 'To control ECMA version and features use the Browerslist configuration. ' + + 'To control ECMA version and features use the Browserslist configuration. ' + 'For more information, see https://angular.io/guide/build#configuring-browser-compatibility', }, ], diff --git a/packages/angular_devkit/build_angular/src/tools/webpack/plugins/typescript.ts b/packages/angular_devkit/build_angular/src/tools/webpack/plugins/typescript.ts index 7ad8290df9cc..f6dba78cb41e 100644 --- a/packages/angular_devkit/build_angular/src/tools/webpack/plugins/typescript.ts +++ b/packages/angular_devkit/build_angular/src/tools/webpack/plugins/typescript.ts @@ -34,7 +34,7 @@ export function createIvyPlugin( wco.logger.warn( 'TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and ' + - '"false" respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration. ' + + '"false" respectively by the Angular CLI. To control ECMA version and features use the Browserslist configuration. ' + 'For more information, see https://angular.io/guide/build#configuring-browser-compatibility\n' + `NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning.`, );