UNPKG

@polkadot/types-codec

Version:
7 lines (6 loc) 386 B
import type { AnyTuple, CodecClass, INumber, Registry } from '../types/index.js'; import { Range } from './Range.js'; export declare class RangeInclusive<T extends INumber = INumber> extends Range<T> { constructor(registry: Registry, Type: CodecClass<T> | string, value?: AnyTuple); static with<T extends INumber>(Type: CodecClass<T> | string): CodecClass<RangeInclusive<T>>; }