apollo-client-code-first-request
Version:
10 lines (9 loc) • 512 B
TypeScript
import 'reflect-metadata';
import { FieldInfo } from '../interfaces';
export declare class Metadata {
static getType(target: any, propertyKey?: string | symbol): any;
static addPropertyKey(propertyName: string, target: any, propertyKey?: string): void;
static getPropertyNames(target: any, propertyKey?: string): string[];
static setFieldInfo(fieldInfo: FieldInfo, target: any, propertyKey?: string): void;
static getFieldInfo(target: Record<string, any>, propertyKey?: string): FieldInfo;
}