@polkadot/types-codec
Version:
Implementation of the SCALE codec
7 lines (6 loc) • 386 B
TypeScript
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>>;
}