Make module, not moduleResolution, the trigger for setting impliedNodeFormat

This commit is contained in:
Andrew Branch
2023-06-26 11:45:35 -07:00
parent 7dd7caaf7c
commit 660bf60cca
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1310,7 +1310,7 @@ export interface CreateSourceFileOptions {
/**
* 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 `undefined` for compilations that do not have `moduleResolution` values of `node16` or `nodenext`.
* This is usually `undefined` for compilations that do not have `module` values of `node16` or `nodenext`.
*/
impliedNodeFormat?: ResolutionMode;
/**