MCPcopy Index your code
hub / github.com/nodejs/node / isTypeOnlyNamespace

Function isTypeOnlyNamespace

test/fixtures/snapshot/typescript.js:54600–54602  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

54598 return !symbol.exports ? [] : ts.filter(ts.arrayFrom(symbol.exports.values()), isNamespaceMember);
54599 }
54600 function isTypeOnlyNamespace(symbol) {
54601 return ts.every(getNamespaceMembersForSerialization(symbol), function (m) { return !(resolveSymbol(m).flags & 111551 /* SymbolFlags.Value */); });
54602 }
54603 function serializeModule(symbol, symbolName, modifierFlags) {
54604 var members = getNamespaceMembersForSerialization(symbol);
54605 // Split NS members up by declaration - members whose parent symbol is the ns symbol vs those whose is not (but were added in later via merging)

Callers 1

serializeSymbolWorkerFunction · 0.85

Calls 3

resolveSymbolFunction · 0.85
everyMethod · 0.80

Tested by

no test coverage detected