feat(serializer): add aot serializer

This commit is contained in:
2026-05-21 09:11:51 +00:00
parent 6f417ba514
commit f327e64a6a
30 changed files with 6720 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
/**
* The well-known symbol carrying a schema descriptor on a constructor.
*
* Registered via `Symbol.for` so multiple module copies (workers, dual builds)
* share identity.
*/
declare const SerializableBrand: unique symbol;
export const Serializable = Symbol.for('@perf/serializable') as typeof SerializableBrand;
export type SerializableKey = typeof SerializableBrand;