Skip to content

Type Alias: DehydratedFunctionValue

ts
type DehydratedFunctionValue = {
  _encodedType: "function";
  _encodedValue: string;
  _encodedValueType: "string";
  _namedBindings?: Record<string, any>;
};

Type definition for a dehydrated function value

Properties

PropertyTypeDescription
_encodedType"function"The encoded type identifier
_encodedValuestringThe encoded function as a string
_encodedValueType"string"The encoded value type identifier
_namedBindings?Record<string, any>Optional named bindings for the function