@lakutata/core
Version:
Lakutata Framework Core
15 lines (14 loc) • 706 B
TypeScript
import { IConstructor } from '../interfaces/IConstructor';
import { Exception } from './abstracts/Exception';
export declare class BaseObject {
get classPath(): string;
get className(): string;
hasMethod(name: string): boolean;
hasProperty(name: string): boolean;
setProperty(name: string, value: any, mode?: 'overwrite' | 'partial'): boolean;
defineProperty(p: PropertyKey, attributes: PropertyDescriptor & ThisType<this>): void;
getConfigurablePropertyNames(): string[];
getProperty(name: string, defaultValue?: any): any;
generateException(...args: any[]): Exception;
generateException(exceptionConstructor: IConstructor<Exception>, ...args: any[]): Exception;
}