We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
WeakSet
getGenericsForNamespace
WeakMap
1 parent 474d224 commit 2d2b3aeCopy full SHA for 2d2b3ae
scripts/build-entries-and-types/templates.mjs
@@ -46,6 +46,9 @@ function getGenericsForNamespace(namespace) {
46
if (namespace === 'WeakMap') {
47
return '<K extends WeakKey, V>';
48
}
49
+ if (namespace === 'WeakSet') {
50
+ return '<K extends WeakKey>';
51
+ }
52
if (namespacesWithTwoGeneric.includes(namespace)) {
53
return '<K, V>';
54
0 commit comments