Files
Andrew BradleyandGitHub 50ef3ffae0 Override isExternalLibraryImport as needed; re-add realpath (#970)
* Re-add "realpath" to LanguageServiceHost
Implement resolveModuleNames that forces modules to be considered internal (not from an external library) when we need them to be emitted

* fix linter failures

* fix failure on old ts version

* Add $$ts-node-root.ts synthetic root file, which `/// <reference`'s all require()d files to
force them to be included in compilation without modifying the rootFiles array

* Preserve path casing in /// <references

* fix

* Revert $$ts-node-root changes, limiting only to the isExternal* changes

* Add new resolver behavior to the CompilerHost codepath

* WIP

* add tests; plus fixes

* Fix tests

* Code-reviewing myself

* fix tests

* add missing test files

* fix tests

* fix tests

* fix linter

* fix tests on windows

* remove comma from the diff

* Update package.json

* adding handling of @scoped modules in bucketing logic; adds tests
2020-08-21 00:59:59 -04:00

5 lines
144 B
JavaScript

// Due to allowJs and skipIgnore, this file is typechecked because it is reclassified as internal
/** @type {string} */
export const bar = 123