ts-lambda-api - v2.5.2
    Preparing search index...

    Class Pair<K, V>

    Type Parameters

    • K = unknown
    • V = unknown
    Index

    Constructors

    • Type Parameters

      • K = unknown
      • V = unknown

      Parameters

      • key: K
      • Optionalvalue: V

      Returns Pair<K, V>

    Properties

    "[NODE_TYPE]": symbol
    key: K

    Always Node or null when parsed, but can be set to anything.

    srcToken?: CollectionItem

    The CST token that was composed into this pair.

    value: V

    Always Node or null when parsed, but can be set to anything.

    Methods

    • Parameters

      Returns Pair<K, V>

    • Parameters

      • Optionalctx: StringifyContext
      • OptionalonComment: () => void
      • OptionalonChompKeep: () => void

      Returns string