UNPKG

@kakasoo/proto-typescript

Version:

Utility types and implementations based on JavaScript prototypes.

11 lines 489 B
import { ToPrimitive } from '../../interfaces'; import { ToTypedNumber } from '../../interfaces/to-typed-number.interface'; import { StringType } from '../../types'; import { TypedNumber } from '../typed-number.class'; export declare class TypedInt<T extends number> implements ToPrimitive<T>, ToTypedNumber<T> { private readonly int; constructor(data: StringType.IsInt<T>); toTypedNumber(): TypedNumber<T>; toPrimitive(): T; } //# sourceMappingURL=typed-int.class.d.ts.map