Home > @esengine/ecs-framework-monorepo > SerializeMap
SerializeMap() function
序列化Map装饰器 标记Map字段需要序列化/反序列化存储
Signature:
typescript
export declare function SerializeMap(target: any, propertyKey: string | symbol): void;
Parameters
Parameter | Type | Description |
---|---|---|
target | any | |
propertyKey | string | symbol |
Returns:
void