UNPKG

@polkadot/types-codec

Version:
14 lines (13 loc) 390 B
import { Range } from './Range.js'; export class RangeInclusive extends Range { constructor(registry, Type, value) { super(registry, Type, value, { rangeName: 'RangeInclusive' }); } static with(Type) { return class extends RangeInclusive { constructor(registry, value) { super(registry, Type, value); } }; } }