@decaf-ts/core
Version:
Core persistence module for the decaf framework
10 lines (9 loc) • 491 B
TypeScript
/**
* @description Creates a decorator that makes a method non-configurable
* @summary This decorator prevents a method from being overridden by making it non-configurable.
* It throws an error if used on anything other than a method.
* @return {Function} A decorator function that can be applied to methods
* @function final
* @category Method Decorators
*/
export declare function final(): (target: object, propertyKey?: any, descriptor?: PropertyDescriptor) => PropertyDescriptor;