setExternalModuleIndicator

abstract external var setExternalModuleIndicator: (file: SourceFile) -> Unit?(source)

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.