Skip to content

Commit 94dbacf

Browse files
committed
refactor(@angular/ssr): remove useDefineForClassFields
This removes `useDefineForClassFields` to leave static field instead of using static blocks.
1 parent 44077f5 commit 94dbacf

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/angular/ssr/src/app-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class AngularAppEngine {
3030
*
3131
* @private
3232
*/
33-
static ɵhooks = new Hooks();
33+
static ɵhooks = /* #__PURE__*/ new Hooks();
3434

3535
/**
3636
* Provides access to the hooks for extending or modifying the server application's behavior.

tsconfig-build-ng.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
"compilerOptions": {
99
"module": "esnext",
1010
"target": "es2022",
11-
// Keep the below in sync with ng_module.bzl
12-
"useDefineForClassFields": false,
1311
"lib": ["es2020", "dom"],
1412
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
1513
"types": [],

0 commit comments

Comments
 (0)