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 8e67387 commit 429dad6Copy full SHA for 429dad6
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