Skip to main content
Module

x/reflect_metadata/mod.ts

A Deno-compatible copy of the TypeScript Metadata Reflection API my Microsoft
Latest
import * as reflectMetadata from "https://deno.land/x/reflect_metadata@v0.1.12-2/mod.ts";

Functions

Applies a set of decorators to a target object.

Define a unique metadata entry on the target.

Deletes the metadata entry from the target object with the provided key.

Gets the metadata value for the provided metadata key on the target object or its prototype chain.

Gets the metadata keys defined on the target object or its prototype chain.

Gets the metadata value for the provided metadata key on the target object.

Gets the unique metadata keys defined on the target object.

Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.

Gets a value indicating whether the target object has the provided metadata key defined.

A default metadata decorator factory that can be used on a class, class member, or parameter.