syndicate-js/packages/core/src/runtime/idcoll.ts

11 lines
346 B
TypeScript
Raw Normal View History

2021-12-01 16:24:29 +00:00
/// SPDX-License-Identifier: GPL-3.0-or-later
/// SPDX-FileCopyrightText: Copyright © 2016-2021 Tony Garnock-Jones <tonyg@leastfixedpoint.com>
2018-11-01 15:29:20 +00:00
// Convenient alias for the JS-native Set and Map types.
2018-11-01 15:29:20 +00:00
export type IdentitySet<T> = Set<T>;
export const IdentitySet = Set;
export type IdentityMap<K,V> = Map<K,V>;
export const IdentityMap = Map;