forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix package.json auto imports for pnpm without project references (mi…
…crosoft#43892) * Fix package.json auto imports for pnpm without project references * Make property optional * Revert unnecessary unnittest change * Set symlinked files when setting symlinked directories * Update `typeDirectiveIsEqualTo` * Consider symlinks found during type reference directive resolution into `discoverProbableSymlinks` * Rename `originalFileName` to `originalPath`, make internal
- Loading branch information
1 parent
71f338b
commit 96c48b7
Showing
5 changed files
with
75 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/// <reference path="../fourslash.ts" /> | ||
|
||
// @Filename: /tsconfig.json | ||
//// { "compilerOptions": { "module": "commonjs" } } | ||
|
||
// @Filename: /package.json | ||
//// { "dependencies": { "mobx": "*" } } | ||
|
||
// @Filename: /node_modules/.pnpm/[email protected]/node_modules/mobx/package.json | ||
//// { "types": "dist/mobx.d.ts" } | ||
|
||
// @Filename: /node_modules/.pnpm/[email protected]/node_modules/mobx/dist/mobx.d.ts | ||
//// export declare function autorun(): void; | ||
|
||
// @Filename: /index.ts | ||
//// autorun/**/ | ||
|
||
// @link: /node_modules/.pnpm/[email protected]/node_modules/mobx -> /node_modules/mobx | ||
|
||
goTo.marker(""); | ||
verify.importFixAtPosition([`import { autorun } from "mobx";\r\n\r\nautorun`]); |