add some type safety

pull/10781/head
Rich Harris 2 years ago
parent 383634316b
commit b4d2e64a8d

@ -35,6 +35,7 @@ function get_self() {
export class ReactiveSet extends Set {
static #inited = false;
/** @type {Map<T, import('#client').Source<boolean>>} */
#sources = new Map();
#version = source(0);
#size = source(0);

Loading…
Cancel
Save