@prismshadow/penguin-core/kernel · Manifest & Static Verification

IfaceDecl

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

One interface. name is for messages and lookup; identity is the member set. fields are the non-method members (Go has none; TS interfaces do, and a published config object is nothing but fields) — compared by presence and type, never by value.

Declaration

export interface IfaceDecl {
  name: string;
  methods: Record<string, Sig>;
  fields?: Record<string, TypeExpr>;
  slots: Record<string, SlotDecl>;
}

Members (4)

name

name: string

methods

methods: Record<string, Sig>

fields

fields?: Record<string, TypeExpr>

slots

slots: Record<string, SlotDecl>

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references3 kernel types
referenced by4 kernel APIs