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

Method registerClass

src/index.ts:92–94  ·  view source on GitHub ↗
(v: Class, options?: RegisterOptions | string)

Source from the content-addressed store, hash-verified

90
91 readonly classRegistry = new ClassRegistry();
92 registerClass(v: Class, options?: RegisterOptions | string) {
93 this.classRegistry.register(v, options);
94 }
95
96 readonly symbolRegistry = new Registry<Symbol>(s => s.description ?? '');
97 registerSymbol(v: Symbol, identifier?: string) {

Callers 2

index.test.tsFile · 0.80

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected