| 24 | * Source location information for a React component |
| 25 | */ |
| 26 | export interface SourceLocation { |
| 27 | /** Absolute or relative file path */ |
| 28 | fileName: string; |
| 29 | /** Line number (1-indexed) */ |
| 30 | lineNumber: number; |
| 31 | /** Column number (0-indexed, may be undefined) */ |
| 32 | columnNumber?: number; |
| 33 | /** Component display name if available */ |
| 34 | componentName?: string; |
| 35 | /** React version detected */ |
| 36 | reactVersion?: string; |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Result of source location detection |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…