MCPcopy
hub / github.com/stampit-org/stampit / DescriptorInitializer

Interface DescriptorInitializer

stampit.ts:78–80  ·  view source on GitHub ↗

* An initializer as it is written *inside a descriptor literal* * (`stampit({ init(options) { … } })`). * * Unlike Initializer, it declares **no explicit `this`**. That omission is * load-bearing: an explicit `this` in a property's declared type overrides the * `ThisType<…>` contextual

Source from the content-addressed store, hash-verified

76 * @template O The options object this initializer reads (the factory's 1st arg).
77 */
78interface DescriptorInitializer<O = any> {
79 (options: O, context: InitializerContext<any>): void | any;
80}
81
82/** The parameters received by a `.composers()` function. */
83interface ComposerParameters<S> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…