cspell
Version:
A Spelling Checker for Code!
17 lines • 524 B
TypeScript
export declare class ShallowObjectCollection<T extends object> {
private tree;
get(v: T): T;
}
export declare class Collection {
private col;
/**
* Add a plain object to the collection.
* The actual object used is returned.
* By adding the object to the collection, it is now owned by the collection.
* Do not add class objects.
* @param v any object or primitive
* @returns v or the matching object.
*/
add<T>(v: T): T;
}
//# sourceMappingURL=ObjectCollection.d.ts.map