removed unnecessary as const cast

pull/11774/head
godzylinux 2 years ago
parent 22fc8869ef
commit 1bf0330fdf

@ -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