ResolvedModuleFull

sealed external interface ResolvedModuleFull : ResolvedModule(source)

ResolvedModule with an explicitly provided extension property. Prefer this over ResolvedModule. If changing this, remember to change moduleResolutionIsEqualTo.

Properties

Link copied to clipboard
abstract var extension: String

Extension of resolvedFileName. This must match what's at the end of resolvedFileName. This is optional for backwards-compatibility, but will be added if not provided.

Link copied to clipboard

True if resolvedFileName comes from node_modules.

Link copied to clipboard
abstract var packageId: PackageId?
Link copied to clipboard
abstract var resolvedFileName: String

Path of the file the module was resolved to.

Link copied to clipboard

True if the original module reference used a .ts extension to refer directly to a .ts file, which should produce an error during checking if emit is enabled.