MCPcopy
hub / github.com/flightcontrolhq/superjson / registerSymbol

Method registerSymbol

src/index.ts:97–99  ·  view source on GitHub ↗
(v: Symbol, identifier?: string)

Source from the content-addressed store, hash-verified

95
96 readonly symbolRegistry = new Registry<Symbol>(s => s.description ?? '');
97 registerSymbol(v: Symbol, identifier?: string) {
98 this.symbolRegistry.register(v, identifier);
99 }
100
101 readonly customTransformerRegistry = new CustomTransformerRegistry();
102 registerCustom<I, O extends JSONValue>(

Callers 1

index.test.tsFile · 0.80

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected