OptionalisTrue if resolvedFileName comes from node_modules.
Path of the file the module was resolved to.
OptionalresolvedTrue if the original module reference used a .ts extension to refer directly to a .ts file, which should produce an error during checking if emit is enabled.
Represents the result of module resolution. Module resolution will pick up tsx/jsx/js files even if '--jsx' and '--allowJs' are turned off. The Program will then filter results based on these flags.
Prefer to return a
ResolvedModuleFullso that the file type does not have to be inferred.