/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/ssr/src/globals.d.ts
21 строка
841 B
Alan Agius
fix(@angular/ssr): manage unhandled errors in zoneless applications
05 апр 2025, 15:30
05 апр 2025, 15:30
319b8e0
Код
Авторство
О чём код?
/** * @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 */ declare const ngDevMode: boolean | undefined; /** * Indicates whether the application is operating in server-rendering mode. * * `ngServerMode` is a global flag set by Angular's server-side rendering mechanisms, * typically configured by `provideServerRendering` and `platformServer` during runtime. * * @remarks * - **Internal Angular Flag**: This is an *internal* Angular flag (not a public API), avoid relying on it in application code. * - **Avoid Direct Use**: This variable is intended for runtime configuration; it should not be accessed directly in application code. */ declare const ngServerMode: boolean | undefined;