Skip to content

Commit

Permalink
docs(core): fix the language code (#52352)
Browse files Browse the repository at this point in the history
PR Close #52352
  • Loading branch information
JeanMeche authored and dylhunn committed Oct 25, 2023
1 parent fd88d6a commit 56c93d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/compiler-cli/src/ngtsc/incremental/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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 {}
Expand All @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/application_ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ export function internalProvideZoneChangeDetection(ngZoneFactory: () => NgZone):
* `BootstrapOptions` instead.
*
* @usageNotes
* ```typescript=
* ```typescript
* bootstrapApplication(MyApp, {providers: [
* provideZoneChangeDetection({eventCoalescing: true}),
* ]});
Expand Down

0 comments on commit 56c93d0

Please sign in to comment.