Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "util/types"

TODO

Index

Type aliases

Type aliases

Dict

Dict<T>: {}

Generic type representing an object with values of a given type.

Type parameters

  • T

    Type of the object's property values.

Type declaration

  • [key: string]: T

Errback

Errback<T>: (err: Error | null, result?: T) => void

Type representing a Node.js error-first callback.

Type parameters

  • T

    Type of the optional result value.

Type declaration

    • (err: Error | null, result?: T): void
    • Parameters

      • err: Error | null
      • Optional result: T

      Returns void

Patch

Patch<T>: {}

Type representing patch data for a given object type to represent a payload ArangoDB can apply in a document PATCH request (i.e. a partial update).

This differs from Partial in that it also applies itself to any nested objects recursively.

Type parameters

  • T

    Base type to represent.

Type declaration

Generated using TypeDoc