Apply suggestions from code review

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Asger F
2025-05-02 12:41:29 +02:00
committed by GitHub
parent b0f73f1cbd
commit f3e0cfd947
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ class TSConfig extends JsonObject {
}
/**
* Holds if this has an exact path mapping from `pattern` to `newPath`.
* Holds if this has an exact path mapping (i.e. no wildcards) from `pattern` to `newPath`.
*
* For example, `"paths": { "@": "./src/index.ts" }` maps the `@` path to `./src/index.ts`.
*

View File

@@ -2,7 +2,7 @@ private import javascript
private import semmle.javascript.internal.paths.JSPaths
/**
* Extension of `PackageJson` with some internal path-resolution predicates.
* A `package.json` file. The class is an extension of the `PackageJson` class with some internal path-resolution predicates.
*/
class PackageJsonEx extends PackageJson {
private JsonValue getAPartOfExportsSection(string pattern) {