@zwa73/utils 1.0.68 → 1.0.69

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.
@@ -103,7 +103,7 @@ export declare function assertThisAs<Self, T>(prototype: MethodsThisAs<Self, T>)
103
103
  /**可自动混入的类型 */
104
104
  export type MixinAble<Mixin> = {
105
105
  /**可混入的字段 */
106
- MIXIN_FIELDS: ReadonlyArray<keyof Mixin>;
106
+ readonly MIXIN_FIELDS: ReadonlyArray<keyof Mixin>;
107
107
  };
108
108
  /**自动混入的组合类 */
109
109
  export type ComposedMixinable<B extends object, Ms extends Array<unknown>> = Ms extends [infer M, ...infer Rest] ? M extends MixinAble<M> ? ComposedMixinable<ComposedClassPart<B, M, M['MIXIN_FIELDS'][number]>, Rest> : B : B;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwa73/utils",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
4
4
  "description": "my utils",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -160,7 +160,7 @@ export function assertThisAs<Self,T>(prototype: MethodsThisAs<Self, T>) {}
160
160
  /**可自动混入的类型 */
161
161
  export type MixinAble<Mixin> = {
162
162
  /**可混入的字段 */
163
- MIXIN_FIELDS:ReadonlyArray<keyof Mixin>
163
+ readonly MIXIN_FIELDS:ReadonlyArray<keyof Mixin>
164
164
  };
165
165
 
166
166
  /**自动混入的组合类 */