@airpower/transformer 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
1
|
class DecoratorUtil {
|
|
5
2
|
/**
|
|
6
3
|
* ### 设置一个类配置项
|
|
@@ -123,10 +120,6 @@ class DecoratorUtil {
|
|
|
123
120
|
this.setProperty(instance, propertyKey, list);
|
|
124
121
|
}
|
|
125
122
|
}
|
|
126
|
-
/**
|
|
127
|
-
* ### 装饰器前缀
|
|
128
|
-
*/
|
|
129
|
-
__publicField(DecoratorUtil, "DecoratorKeyPrefix", "[AirPower]");
|
|
130
123
|
class Transformer {
|
|
131
124
|
/**
|
|
132
125
|
* ### 从 `JSON` 转换到当前类的对象
|
package/dist/type/index.d.ts
CHANGED