mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 13:32:43 +08:00
refactor(@angular/ssr): remove useDefineForClassFields
This removes `useDefineForClassFields` to leave static field instead of using static blocks.
This commit is contained in:
parent
44077f54e9
commit
94dbacf447
@ -30,7 +30,7 @@ export class AngularAppEngine {
|
||||
*
|
||||
* @private
|
||||
*/
|
||||
static ɵhooks = new Hooks();
|
||||
static ɵhooks = /* #__PURE__*/ new Hooks();
|
||||
|
||||
/**
|
||||
* Provides access to the hooks for extending or modifying the server application's behavior.
|
||||
|
@ -8,8 +8,6 @@
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"target": "es2022",
|
||||
// Keep the below in sync with ng_module.bzl
|
||||
"useDefineForClassFields": false,
|
||||
"lib": ["es2020", "dom"],
|
||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||
"types": [],
|
||||
|
Loading…
x
Reference in New Issue
Block a user