import { Reflect } from "https://deno.land/x/leaves@v0.1.5/deps.ts";
This file was copied from https://github.com/rbuckton/reflect-metadata/blob/v0.1.12/Reflect.ts and slightly modified to fix all type errors that Deno reported.
Additionally, the export
keyword was added to the Reflect
namespace to
be actually able to import and use the module in Deno.
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. |