Packages
A spellchecker for Elixir, made with Bun and cspell
Current section
Files
Jump to
Current section
Files
priv/bun/node_modules/cspell/dist/esm/util/cache/ObjectCollection.d.ts
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