Skip to content

Commit a25a894

Browse files
committed
Fix: make intersect public
1 parent 8938f1b commit a25a894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multi-integer-range.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class MultiRange {
138138
* Note that this modifies the original object
139139
* rather than returning the new MultiRange object.
140140
*/
141-
private intersect(value: Initializer): MultiRange {
141+
public intersect(value: Initializer): MultiRange {
142142
if (typeof value === 'undefined') {
143143
throw new TypeError('Invalid input');
144144
} else if (value instanceof MultiRange) {

0 commit comments

Comments
 (0)