Skip to content

CheckProjectTypesParams.shouldKeepFile method

CheckProjectTypesParams › shouldKeepFile

Decides whether a diagnostic's source file is one we care about.

Signature:

shouldKeepFile(this: void, fileName: string): boolean

Parameters:

ParameterTypeDescription
thisvoid
fileNamestringThe diagnostic's source file, already passed through {@link toCanonical}.

Returns: booleantrue to report the diagnostic, false to ignore it.