From 56c93d02b5d005c32b4bf36d9e49d0288373d2b3 Mon Sep 17 00:00:00 2001 From: Matthieu Riegler Date: Tue, 24 Oct 2023 18:29:56 +0200 Subject: [PATCH] docs(core): fix the language code (#52352) PR Close #52352 --- packages/compiler-cli/src/ngtsc/incremental/README.md | 6 +++--- packages/core/src/application_ref.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/compiler-cli/src/ngtsc/incremental/README.md b/packages/compiler-cli/src/ngtsc/incremental/README.md index d09a0c2319cf1..c9de5957ea28c 100644 --- a/packages/compiler-cli/src/ngtsc/incremental/README.md +++ b/packages/compiler-cli/src/ngtsc/incremental/README.md @@ -65,7 +65,7 @@ in two ways: For example, a directive's selector may be determined via an imported constant: -```typescript= +```typescript import {Directive} from '@angular/core'; import {DIR_SELECTOR} from './selectors'; @@ -138,7 +138,7 @@ never a reference from a component to its NgModule, or any of its directive or p In code, this looks like: -```typescript= +```typescript // dir.ts @Directive({selector: '[dir]'}) export class Dir {} @@ -161,7 +161,7 @@ export class Mod {} Here, `Cmp` never directly imports or refers to `Dir`, but it _does_ consume the directive in its template. During emit, `Cmp` would receive a `directiveDefs` array: -```typescript= +```typescript // cmp.js import * as i1 from './dir'; diff --git a/packages/core/src/application_ref.ts b/packages/core/src/application_ref.ts index ced0413acdce0..47074867047bb 100644 --- a/packages/core/src/application_ref.ts +++ b/packages/core/src/application_ref.ts @@ -1283,7 +1283,7 @@ export function internalProvideZoneChangeDetection(ngZoneFactory: () => NgZone): * `BootstrapOptions` instead. * * @usageNotes - * ```typescript= + * ```typescript * bootstrapApplication(MyApp, {providers: [ * provideZoneChangeDetection({eventCoalescing: true}), * ]});