(moduleName, withAugmentations)
| 59537 | })); |
| 59538 | } |
| 59539 | function tryFindAmbientModule(moduleName, withAugmentations) { |
| 59540 | if (ts.isExternalModuleNameRelative(moduleName)) { |
| 59541 | return undefined; |
| 59542 | } |
| 59543 | var symbol = getSymbol(globals, '"' + moduleName + '"', 512 /* SymbolFlags.ValueModule */); |
| 59544 | // merged symbol is module declaration symbol combined with all augmentations |
| 59545 | return symbol && withAugmentations ? getMergedSymbol(symbol) : symbol; |
| 59546 | } |
| 59547 | function isOptionalParameter(node) { |
| 59548 | if (ts.hasQuestionToken(node) || isOptionalJSDocPropertyLikeTag(node) || isJSDocOptionalParameter(node)) { |
| 59549 | return true; |
no test coverage detected
searching dependent graphs…