mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-02 22:59:16 +03:00
Update config.ts
This commit is contained in:
@@ -121,14 +121,6 @@ class SBMap<T, U> extends Map {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
addArray(key: T, value: U) {
|
|
||||||
// Expand an array by value
|
|
||||||
const result = super.get(key).concat(value);
|
|
||||||
this.set(key, result);
|
|
||||||
this.update();
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
delete(key) {
|
delete(key) {
|
||||||
const result = super.delete(key);
|
const result = super.delete(key);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user