Function: createNullPrototypeObject()
function createNullPrototypeObject<T>(shape?: T): T;
Defined in: shared/utils/objectSafety.ts:36
Creates a null-prototype object with a specific compile-time shape.
Type Parametersโ
Tโ
T extends object
Parametersโ
shape?โ
T
Returnsโ
T
Remarksโ
This compatibility wrapper keeps existing object-safety imports stable while the underlying helper lives in a dependency-light module.