@polkadot/types-codec
Version:
Implementation of the SCALE codec
14 lines (13 loc) • 390 B
JavaScript
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);
}
};
}
}