@kakasoo/proto-typescript
Version:
Utility types and implementations based on JavaScript prototypes.
10 lines • 440 B
TypeScript
import { IS_TYPED_CLASS, IsTypedInteface } from '../interfaces/is-typed.interface';
import { TypedClass } from '../types/primitive.type';
export declare class TypedObject<T extends any> implements IsTypedInteface {
private readonly object;
readonly [IS_TYPED_CLASS]: true;
constructor(object: T);
toPrimitive(): T;
protected isTypedClass(data: any): data is TypedClass;
}
//# sourceMappingURL=typed-object.class.d.ts.map