UNPKG

@angular-package/property

Version:
11 lines (10 loc) 601 B
import { DataDescriptor } from '../interface/data-descriptor.interface'; import { ResultCallback } from '../type/result-callback.type'; export declare class DataDescriptors<Value> { #private; static define<Value>(descriptor: DataDescriptor<Value>, callback?: ResultCallback): DataDescriptor<Value>; get get(): DataDescriptor<Value>; constructor(descriptor?: DataDescriptor<Value>); static guard<Value>(descriptor: DataDescriptor<Value>, callback?: ResultCallback): descriptor is DataDescriptor<Value>; set(descriptor: DataDescriptor<Value>, callback?: ResultCallback): this; }