diff --git a/doc/handbook/Decorators.md b/doc/handbook/Decorators.md index c33c7b3..fa3b768 100644 --- a/doc/handbook/Decorators.md +++ b/doc/handbook/Decorators.md @@ -471,7 +471,7 @@ function validate(target: any, propertyKey: string, descriptor: TypedProperty if (!(value instanceof type)) { throw new TypeError("Invalid type."); } - set(value); + set.call(target, value); } } ```