@itrocks/framework 0.0.20 → 0.0.21
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/cjs/reflect-class.d.ts +1 -1
- package/cjs/reflect-class.js +1 -1
- package/package.json +1 -1
package/cjs/reflect-class.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { ReflectClass as RC } from '@itrocks/reflect';
|
|
|
3
3
|
export declare class ReflectClass<T extends object = object> extends RC<T> {
|
|
4
4
|
inheritedPropertyTypes(propertyTypes: PropertyTypes<T>): void;
|
|
5
5
|
get parent(): any;
|
|
6
|
-
get properties():
|
|
6
|
+
get properties(): import("@itrocks/reflect").ReflectProperty<T>[];
|
|
7
7
|
get uses(): import("@itrocks/class-type").Type[];
|
|
8
8
|
}
|
package/cjs/reflect-class.js
CHANGED
|
@@ -19,7 +19,7 @@ class ReflectClass extends reflect_1.ReflectClass {
|
|
|
19
19
|
}
|
|
20
20
|
get properties() {
|
|
21
21
|
const properties = super.properties;
|
|
22
|
-
for (const reflectProperty of
|
|
22
|
+
for (const reflectProperty of properties) {
|
|
23
23
|
Object.setPrototypeOf(reflectProperty, reflect_property_1.ReflectProperty.prototype);
|
|
24
24
|
}
|
|
25
25
|
return properties;
|
package/package.json
CHANGED