mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add multiMapAdd helper
This commit is contained in:
@@ -984,8 +984,7 @@ namespace ts {
|
||||
function addDeclaration(declaration: Declaration) {
|
||||
const name = getDeclarationName(declaration);
|
||||
if (name) {
|
||||
const declarations = getDeclarations(name);
|
||||
declarations.push(declaration);
|
||||
multiMapAdd(result, name, declaration);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user