diff --git a/biome.jsonc b/biome.jsonc index d201f0a4..3f27b1e2 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.5.2/schema.json", + "$schema": "https://biomejs.dev/schemas/2.5.3/schema.json", "vcs": { "enabled": true, "clientKind": "git", diff --git a/packages/0-framework/1-core/core/src/node.ts b/packages/0-framework/1-core/core/src/node.ts index 231b5c0f..0d448242 100644 --- a/packages/0-framework/1-core/core/src/node.ts +++ b/packages/0-framework/1-core/core/src/node.ts @@ -281,6 +281,7 @@ export interface ModuleNode< /** Declared param-forwarding slots (authored as `params`) — forwarded to internals via `ctx.params`, the same rail secrets ride on. */ readonly paramSlots: PN; readonly expose: E; + // biome-ignore lint/suspicious/noConfusingVoidType: void accepts bodies with no return statement; undefined would reject them. body(ctx: ModuleContext): ModuleOutputs | void; } @@ -673,6 +674,7 @@ export function module< >( name: string, boundary: { deps?: D; secrets?: S; params?: PN; expose?: E }, + // biome-ignore lint/suspicious/noConfusingVoidType: void accepts bodies with no return statement; undefined would reject them. body: (ctx: ModuleContext) => ModuleOutputs | void, ): ModuleNode; /** @@ -684,6 +686,7 @@ export function module( boundaryOrBody: | { deps?: Deps; secrets?: Secrets; params?: ParamNeeds; expose?: Expose } | ((ctx: ModuleContext) => void), + // biome-ignore lint/suspicious/noConfusingVoidType: void accepts bodies with no return statement; undefined would reject them. maybeBody?: (ctx: ModuleContext) => ModuleOutputs | void, ): ModuleNode { requireName(name, 'module'); @@ -693,6 +696,7 @@ export function module( const secretSlots = frozenShallowCopy(boundary.secrets ?? {}); const paramSlots = frozenShallowCopy(boundary.params ?? {}); const expose = frozenShallowCopy(boundary.expose ?? {}); + // biome-ignore lint/suspicious/noConfusingVoidType: void accepts bodies with no return statement; undefined would reject them. const body: (ctx: ModuleContext) => ModuleOutputs | void = closedRoot ? (ctx) => { boundaryOrBody(ctx);