(specs, basePath, usage)
| 20536 | } |
| 20537 | ts.getRegularExpressionForWildcard = getRegularExpressionForWildcard; |
| 20538 | function getRegularExpressionsForWildcards(specs, basePath, usage) { |
| 20539 | if (specs === undefined || specs.length === 0) { |
| 20540 | return undefined; |
| 20541 | } |
| 20542 | return ts.flatMap(specs, function (spec) { |
| 20543 | return spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]); |
| 20544 | }); |
| 20545 | } |
| 20546 | ts.getRegularExpressionsForWildcards = getRegularExpressionsForWildcards; |
| 20547 | /** |
| 20548 | * An "includes" path "foo" is implicitly a glob "foo/** /*" (without the space) if its last component has no extension, |
no test coverage detected