Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMeta<T>

Generic interface for types supporting metadata. Implementations MUST exclude metadata from any comparisons, equality checks & hashing.

Type parameters

  • T

Hierarchy

  • IMeta

Index

Methods

meta

  • meta(): any

withMeta

  • withMeta(meta: any): T
  • Returns a copy of the original value with given metadata attached.

    Parameters

    • meta: any

      meta data

    Returns T

Generated using TypeDoc