From 23b60dc1975db38c280d8a123aff97544d1673e0 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:34:21 +0800
Subject: [PATCH] TODO#139890 FAQ 常見問題 1-文案調整

---
 PAMapp/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/PAMapp/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js b/PAMapp/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js
index 606a3b8..e2071bd 100644
--- a/PAMapp/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js
+++ b/PAMapp/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js
@@ -3,9 +3,9 @@
 Object.defineProperty(exports, "__esModule", {
   value: true
 });
-exports.hasOwnDecorators = hasOwnDecorators;
-exports.hasDecorators = hasDecorators;
 exports.buildDecoratedClass = buildDecoratedClass;
+exports.hasDecorators = hasDecorators;
+exports.hasOwnDecorators = hasOwnDecorators;
 
 var _core = require("@babel/core");
 
@@ -69,7 +69,7 @@
     file: this,
     refToPreserve: classRef
   }).replace();
-  const properties = [prop("kind", _core.types.stringLiteral(_core.types.isClassMethod(node) ? node.kind : "field")), prop("decorators", takeDecorators(node)), prop("static", node.static && _core.types.booleanLiteral(true)), prop("key", getKey(node))].filter(Boolean);
+  const properties = [prop("kind", _core.types.stringLiteral(_core.types.isClassMethod(node) ? node.kind : "field")), prop("decorators", takeDecorators(node)), prop("static", !(_core.types.isStaticBlock != null && _core.types.isStaticBlock(node)) && node.static && _core.types.booleanLiteral(true)), prop("key", getKey(node))].filter(Boolean);
 
   if (_core.types.isClassMethod(node)) {
     const id = node.computed ? null : node.key;

--
Gitblit v1.8.0