(implied-node-format create-source-file-options)
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
.
Returns: ResolutionMode
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`. **Returns:** `ResolutionMode`
(js-doc-parsing-mode create-source-file-options)
Returns: JSDocParsingMode | undefined
**Returns:** `JSDocParsingMode | undefined`
(language-version create-source-file-options)
Returns: ScriptTarget
**Returns:** `ScriptTarget`
(set-external-module-indicator create-source-file-options)
Controls 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.
Returns: ((file: SourceFile) => void) | undefined
Controls 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. **Returns:** `((file: SourceFile) => void) | undefined`
(set-implied-node-format! create-source-file-options value)
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
.
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`.
(set-set-external-module-indicator! create-source-file-options value)
Controls 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 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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close