/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
modules/ssr-benchmarks/src/app/app.config.server.ts
17 строк
560 B
Paul Gschwendtner
refactor: add explicit types for exports relying on inferred call return type (#61312)
14 май 2025, 01:45
14 май 2025, 01:45
810b0a7
Код
Авторство
О чём код?
/** * @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 {mergeApplicationConfig, ApplicationConfig} from '@angular/core'; import {provideServerRendering} from '@angular/platform-server'; import {appConfig} from './app.config'; const serverConfig: ApplicationConfig = { providers: [provideServerRendering()], }; export const config: ApplicationConfig = mergeApplicationConfig(appConfig, serverConfig);