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
|
|
|
|
2021-01-11 22:35:36 +00:00
|
|
|
// Convenient alias for the JS-native Set and Map types.
|
2018-11-01 15:29:20 +00:00
|
|
|
|
2021-01-11 22:35:36 +00:00
|
|
|
export type IdentitySet<T> = Set<T>;
|
|
|
|
export const IdentitySet = Set;
|
|
|
|
|
|
|
|
export type IdentityMap<K,V> = Map<K,V>;
|
|
|
|
export const IdentityMap = Map;
|