Skip to content

ServiceImpl type

Home > @rimitive/core > ServiceImpl

Extract the implementation type from a Module.

Signature:

export type ModuleImpl<T> = T extends Module<string, infer TImpl, unknown> ? TImpl : never;

References: Module