@prismshadow/penguin-core/kernel · Assembly & Boot

ModuleInstance

interface type-only
Source ↗
IMPORT import type { ModuleInstance } from "@prismshadow/penguin-core/kernel";

Declaration

export interface ModuleInstance<Api = Record<string, unknown>> {
  /** Provided implementations, by the manifest's provides alias. */
  api: Api;
  /** Implementations of this module's own contributions, by contribution id. */
  bind?: Record<string, unknown>;
  park?(): Json;
}

Members (3)

api

api: Api

Provided implementations, by the manifest's provides alias.

bind

bind?: Record<string, unknown>

Implementations of this module's own contributions, by contribution id.

park

park?(): Json
@returnsJson

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references1 kernel type
referenced by2 kernel APIs