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 af29a10Copy full SHA for af29a10
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 '<T extends WeakKey>';
51
+ }
52
if (namespacesWithTwoGeneric.includes(namespace)) {
53
return '<K, V>';
54
0 commit comments