This commit is contained in:
Asier Isayas
2025-03-24 16:03:02 -04:00
parent 53836a93cd
commit ca641b2ff5
2 changed files with 16 additions and 8 deletions

View File

@@ -141,6 +141,9 @@ export const updateContextWithDecorator = <T extends keyof DecoratorProperties,
descriptorName: keyof DecoratorProperties,
descriptorValue: K,
): void => {
console.log(context)
console.log(propertyName)
console.log(className)
if (!(context instanceof Map)) {
throw new Error(`@IsDisplayable should be the first decorator for the class '${className}'.`);
}