@rdfjs/term-set to use interface merging (#44246)

This commit is contained in:
Tomasz Pluskiewicz 2020-04-27 20:12:32 +02:00 committed by GitHub
parent 04b46cc786
commit 4c90b4fa1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,11 @@ declare namespace TermSet {
}
}
declare const TermSet: SetConstructor;
interface TermSet<T extends Term = Term> extends TermSet.TermSet<T> {
}
// tslint:disable-next-line no-unnecessary-class
declare class TermSet<T extends Term = Term> {
constructor(values?: T[] | null);
}
export = TermSet;