import type { ITranslationDecoratorInterface } from '../interfaces' ; export const TRANSLATION_DECORATOR_KEY = 'custom:translate' ; export function Translate ( data ) { return ( target , key ) => { Reflect . defineMetadata ( TRANSLATION_DECORATOR_KEY , data , target , key ) ; } ; }