mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Make module, not moduleResolution, the trigger for setting impliedNodeFormat
This commit is contained in:
@@ -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;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user