Home > @rushstack/node-core-library > IProtectableMapParameters > onDelete
IProtectableMapParameters.onDelete property
An optional hook that will be invoked before Map.delete() is performed.
Signature:
onDelete?: (source: ProtectableMap<K, V>, key: K) => void;