Skip to content

Commit ff41b20

Browse files
committed
docs(docs-infra): export class
1 parent 8f8d113 commit ff41b20

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

adev/src/content/reference/errors/NG05104.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This issue occurs when the selector mismatches the tag
1313
selector: 'my-app',
1414
...
1515
})
16-
class AppComponent {}
16+
export class AppComponent {}
1717
```
1818

1919
```angular-html

adev/src/content/tutorials/learn-angular/steps/22-pipes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {UpperCasePipe} from '@angular/common';
1818
template: `{{ loudMessage | uppercase }}`,
1919
imports: [UpperCasePipe],
2020
})
21-
class App {
21+
export class App {
2222
loudMessage = 'we think you are doing great!'
2323
}
2424
</docs-code>

adev/src/content/tutorials/learn-angular/steps/4-control-flow-if/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Here's an example of how to use the `@if` syntax in a component:
2323
}
2424
`,
2525
})
26-
class App {
26+
export class App {
2727
isLoggedIn = true;
2828
}
2929
```

adev/src/content/tutorials/learn-angular/steps/7-event-handling/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In Angular you bind to events with the parentheses syntax `()`. On a given eleme
1515
...
1616
template: `<button (click)="greet()">`
1717
})
18-
class App {
18+
export class App {
1919
greet() {
2020
console.log('Hello, there 👋');
2121
}

adev/src/content/tutorials/learn-angular/steps/8-input/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ When you are ready to pass in a value through an `input`, values can be set in t
2525
...
2626
template: `<app-user occupation="Angular Developer"></app-user>`
2727
})
28-
class App {}
28+
export class App {}
2929
</docs-code>
3030

3131
The `input` function returns an `InputSignal`. You can read the value by calling the signal.

0 commit comments

Comments
 (0)