Skip to content

Commit

Permalink
remove unused exports (#1928)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Jul 10, 2023
1 parent 41fcd04 commit 6e0720c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
9 changes: 1 addition & 8 deletions src/CollectionImpl.js
Expand Up @@ -70,14 +70,7 @@ import { getIn } from './methods/getIn';
import { hasIn } from './methods/hasIn';
import { toObject } from './methods/toObject';

export {
Collection,
KeyedCollection,
IndexedCollection,
SetCollection,
CollectionPrototype,
IndexedCollectionPrototype,
};
export { Collection, CollectionPrototype, IndexedCollectionPrototype };

// Note: all of these methods are deprecated.
Collection.isIterable = isCollection;
Expand Down
2 changes: 1 addition & 1 deletion src/List.js
Expand Up @@ -236,7 +236,7 @@ export class List extends IndexedCollection {

List.isList = isList;

export const ListPrototype = List.prototype;
const ListPrototype = List.prototype;
ListPrototype[IS_LIST_SYMBOL] = true;
ListPrototype[DELETE] = ListPrototype.remove;
ListPrototype.merge = ListPrototype.concat;
Expand Down
2 changes: 1 addition & 1 deletion src/Map.js
Expand Up @@ -160,7 +160,7 @@ export class Map extends KeyedCollection {

Map.isMap = isMap;

export const MapPrototype = Map.prototype;
const MapPrototype = Map.prototype;
MapPrototype[IS_MAP_SYMBOL] = true;
MapPrototype[DELETE] = MapPrototype.remove;
MapPrototype.removeAll = MapPrototype.deleteAll;
Expand Down
6 changes: 0 additions & 6 deletions src/utils/createClass.js

This file was deleted.

0 comments on commit 6e0720c

Please sign in to comment.