We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d12014 commit 5090f2bCopy full SHA for 5090f2b
src/app/home/home.component.ts
@@ -4,6 +4,7 @@ import { RouterModule } from '@angular/router';
4
import { MatCardModule } from '@angular/material/card';
5
6
import { EXAMPLES } from '../shared/consts/examples.const';
7
+import { ExampleModel } from '../shared/models/example.model';
8
9
@Component({
10
selector: 'app-home',
@@ -13,5 +14,5 @@ import { EXAMPLES } from '../shared/consts/examples.const';
13
14
styleUrl: './home.component.scss',
15
})
16
export class HomeComponent {
- examples = signal(EXAMPLES);
17
+ examples: WritableSignal<ExampleModel[]> = signal(EXAMPLES);
18
}
0 commit comments