This commit is contained in:
inokawa
2020-12-02 06:46:41 +09:00
committed by GitHub
parent 2a3f5508ec
commit d57954345b
6 changed files with 7 additions and 7 deletions

View File

@@ -1023,7 +1023,7 @@ namespace ts {
/**
* This will be called on the successfully resolved path from `loadModuleFromFile`.
* (Not neeeded for `loadModuleFromNodeModules` as that looks up the `package.json` as part of resolution.)
* (Not needed for `loadModuleFromNodeModules` as that looks up the `package.json` as part of resolution.)
*
* packageDirectory is the directory of the package itself.
* For `blah/node_modules/foo/index.d.ts` this is packageDirectory: "foo"