fileName

Source file name. Could be undefined if the diagnostic is system-level (and not file-specific), like e.g. an error about invalid TS options.

Type

string