Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_reflect/Reflect.ts>defineMetadata

A Deno-compatible copy of the TypeScript Metadata Reflection API my Microsoft
Latest
function defineMetadata
import { defineMetadata } from "https://deno.land/x/deno_reflect@v0.2.1/Reflect.ts";

Parameters

metadataKey: any
metadataValue: any
target: any

Parameters

metadataKey: any
metadataValue: any
target: any
propertyKey: string | symbol