/
githubmirror
/
jest
Обзор
Документация
Войти
/
githubmirror
/
jest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v30.4.2
examples/angular/app.component.ts
12 строк
330 B
Simen Bekkhus
chore: update "vulnerable" dependencies (#15915)
12 дек 2025, 12:11
Не верифицирован
12 дек 2025, 12:11
61bb2eb
Код
Авторство
О чём код?
import {Component, inject} from '@angular/core'; import {DataService} from './shared/data.service'; @Component({ selector: 'app-root', standalone: true, template: '<h1>Welcome to {{ title }}!</h1>', }) export class AppComponent { private dataService = inject(DataService); public title = this.dataService.getTitle(); }