CheckProjectTypesParams.shouldKeepFile method
CheckProjectTypesParams › shouldKeepFile
Decides whether a diagnostic's source file is one we care about.Signature:
shouldKeepFile(this: void, fileName: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| this | void | |
| fileName | string | The diagnostic's source file, already passed through {@link toCanonical}. |
Returns: boolean — true to report the diagnostic, false to ignore it.