Skip to content

Commit fda7a84

Browse files
JeanMechedylhunn
authored andcommitted
docs(core): fix the language code (angular#52352)
PR Close angular#52352
1 parent dea1620 commit fda7a84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/compiler-cli/src/ngtsc/incremental/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ in two ways:
6565

6666
For example, a directive's selector may be determined via an imported constant:
6767

68-
```typescript=
68+
```typescript
6969
import {Directive} from '@angular/core';
7070
import {DIR_SELECTOR} from './selectors';
7171

@@ -138,7 +138,7 @@ never a reference from a component to its NgModule, or any of its directive or p
138138

139139
In code, this looks like:
140140

141-
```typescript=
141+
```typescript
142142
// dir.ts
143143
@Directive({selector: '[dir]'})
144144
export class Dir {}
@@ -161,7 +161,7 @@ export class Mod {}
161161
Here, `Cmp` never directly imports or refers to `Dir`, but it _does_ consume the directive in its
162162
template. During emit, `Cmp` would receive a `directiveDefs` array:
163163

164-
```typescript=
164+
```typescript
165165
// cmp.js
166166
import * as i1 from './dir';
167167

packages/core/src/application_ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ export function internalProvideZoneChangeDetection(ngZoneFactory: () => NgZone):
12881288
* `BootstrapOptions` instead.
12891289
*
12901290
* @usageNotes
1291-
* ```typescript=
1291+
* ```typescript
12921292
* bootstrapApplication(MyApp, {providers: [
12931293
* provideZoneChangeDetection({eventCoalescing: true}),
12941294
* ]});

0 commit comments

Comments
 (0)