Skip to content

Commit 5342b46

Browse files
Addressed feedback.
1 parent 94b522a commit 5342b46

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/compiler/utilities.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10105,14 +10105,15 @@ export const emptyFileSystemEntries: FileSystemEntries = {
1010510105
};
1010610106

1010710107
/**
10108-
* patternOrStrings contains both patterns (containing "*") and regular strings.
10108+
* `parsedPatterns` contains both patterns (containing "*") and regular strings.
1010910109
* Return an exact match if possible, or a pattern match, or undefined.
1011010110
* (These are verified by verifyCompilerOptions to have 0 or 1 "*" characters.)
1011110111
*
1011210112
* @internal
1011310113
*/
10114-
export function matchPatternOrExact(patternOrStrings: ParsedPatterns, candidate: string): string | Pattern | undefined {
10115-
const { matchableStringSet, patterns } = patternOrStrings;
10114+
export function matchPatternOrExact(parsedPatterns: ParsedPatterns, candidate: string): string | Pattern | undefined {
10115+
const { matchableStringSet, patterns } = parsedPatterns;
10116+
1011610117

1011710118
if (matchableStringSet?.has(candidate)) {
1011810119
return candidate;

0 commit comments

Comments
 (0)