mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-14 13:56:04 +00:00
7 lines
317 B
TypeScript
7 lines
317 B
TypeScript
import { expectDefined as expectDefinedCore } from "../../packages/normalization-core/src/expect.js";
|
|
|
|
// Keep the public declaration local so sibling normalization helpers stay private.
|
|
export function expectDefined<T>(value: T | null | undefined, context: string): T {
|
|
return expectDefinedCore(value, context);
|
|
}
|