Skip to content

Commit 5090f2b

Browse files
committed
minor update
1 parent 0d12014 commit 5090f2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/home/home.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { RouterModule } from '@angular/router';
44
import { MatCardModule } from '@angular/material/card';
55

66
import { EXAMPLES } from '../shared/consts/examples.const';
7+
import { ExampleModel } from '../shared/models/example.model';
78

89
@Component({
910
selector: 'app-home',
@@ -13,5 +14,5 @@ import { EXAMPLES } from '../shared/consts/examples.const';
1314
styleUrl: './home.component.scss',
1415
})
1516
export class HomeComponent {
16-
examples = signal(EXAMPLES);
17+
examples: WritableSignal<ExampleModel[]> = signal(EXAMPLES);
1718
}

0 commit comments

Comments
 (0)