generated from gxc-solutions/gxc-template-repo
All checks were successful
CI / build (push) Successful in 24s
Update models, added parser
5 lines
180 B
TypeScript
5 lines
180 B
TypeScript
export const IMMUTABLE_KEY = Symbol("secret");
|
|
|
|
export function immutable(target: any, propertyKey: string) {
|
|
Reflect.defineMetadata(IMMUTABLE_KEY, true, target, propertyKey);
|
|
}
|