removed unnecessary as const cast

pull/11504/head
godzylinux 2 years ago committed by FoHoOV
parent f076bbc7d4
commit 72cb168cb4

@ -1,7 +1,7 @@
import { make_reactive } from './utils.js';
export const ReactiveSet = make_reactive(Set, {
mutation_properties: /** @type {const} */ (['add', 'clear', 'delete']),
mutation_properties: ['add', 'clear', 'delete'],
interceptors: {
add: (value, property, ...params) => {
return !value.has(params[0]);

Loading…
Cancel
Save