/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
modules/playground/src/jsonp/main.ts
23 строки
732 B
Andrew Scott
refactor(core): Update tests for zoneless by default (#63668)
10 сен 2025, 00:41
10 сен 2025, 00:41
c357650
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {HttpClientJsonpModule, HttpClientModule} from '@angular/common/http'; import {NgModule, provideZoneChangeDetection} from '@angular/core'; import {BrowserModule, platformBrowser} from '@angular/platform-browser'; import {JsonpCmp} from './app/jsonp_comp'; @NgModule({ bootstrap: [JsonpCmp], declarations: [JsonpCmp], imports: [BrowserModule, HttpClientModule, HttpClientJsonpModule], providers: [provideZoneChangeDetection()], }) export class ExampleModule {} platformBrowser().bootstrapModule(ExampleModule);