mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 05:52:41 +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
|
* @private
|
||||||
*/
|
*/
|
||||||
static ɵhooks = new Hooks();
|
static ɵhooks = /* #__PURE__*/ new Hooks();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides access to the hooks for extending or modifying the server application's behavior.
|
* Provides access to the hooks for extending or modifying the server application's behavior.
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"target": "es2022",
|
"target": "es2022",
|
||||||
// Keep the below in sync with ng_module.bzl
|
|
||||||
"useDefineForClassFields": false,
|
|
||||||
"lib": ["es2020", "dom"],
|
"lib": ["es2020", "dom"],
|
||||||
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
// don't auto-discover @types/node, it results in a ///<reference in the .d.ts output
|
||||||
"types": [],
|
"types": [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user