@galacean/effects-core 2.0.0-alpha.18 → 2.0.0-alpha.19

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.
@@ -1,5 +1,5 @@
1
- export type ClassConstructor = new () => any;
1
+ import type { Constructor } from './utils';
2
2
  export declare const effectsClassStore: Record<string, any>;
3
3
  export declare function effectsClass(className: string): (target: Object, context?: unknown) => void;
4
- export declare function serialize(type?: ClassConstructor, sourceName?: string): (target: Object, propertyKey: string | symbol) => void;
4
+ export declare function serialize(type?: Constructor, sourceName?: string): (target: Object, propertyKey: string | symbol) => void;
5
5
  export declare function getMergedStore(target: Object): Record<string, any>;
package/dist/index.d.ts CHANGED
@@ -34,3 +34,4 @@ export * from './utils';
34
34
  export * from './vfx-item';
35
35
  export * from './binary-asset';
36
36
  export * from './effects-object';
37
+ export declare const version: string;