mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix regex
This commit is contained in:
1 parent
5dfdbdb136
commit
dfbed67fd9
1 file changed
+1
-1
@@ -109,7 +109,7 @@ namespace ts.projectSystem {
|
||||
.replace(/getExportInfoMap: done in \d+(?:\.\d+)?/g, `getExportInfoMap: done in *`)
|
||||
.replace(/collectAutoImports: \d+(?:\.\d+)?/g, `collectAutoImports: *`)
|
||||
.replace(/dependencies in \d+(?:\.\d+)?/g, `dependencies in *`)
|
||||
.replace(/\"exportMapKey\"\:\"\w(\w|\d)*\|\d+\|/g, match => match.replace(/\|\d+\|/, `|*|`))
|
||||
.replace(/\"exportMapKey\"\:\"[_$a-zA-Z][_$_$a-zA-Z0-9]*\|\d+\|/g, match => match.replace(/\|\d+\|/, `|*|`))
|
||||
)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user