OptionalimpliedOptionaljsOptionalsetControls how module-y-ness is set for the given file. Usually the result of calling
getSetExternalModuleIndicator on a valid CompilerOptions object. If not present, the default
check specified by isFileProbablyExternalModule will be used to set the field.
Controls the format the file is detected as - this can be derived from only the path and files on disk, but needs to be done with a module resolution cache in scope to be performant. This is usually
undefinedfor compilations that do not havemoduleResolutionvalues ofnode16ornodenext.