* Resolved configuration with all defaults applied
| 195 | * Resolved configuration with all defaults applied |
| 196 | */ |
| 197 | interface ResolvedConfig { |
| 198 | maxComponents: number; |
| 199 | maxDepth: number; |
| 200 | mode: ReactDetectionMode; |
| 201 | skipExact: Set<string>; |
| 202 | skipPatterns: RegExp[]; |
| 203 | userPatterns: RegExp[]; |
| 204 | filter?: (name: string, depth: number) => boolean; |
| 205 | } |
| 206 | |
| 207 | function resolveConfig(config?: ReactDetectionConfig): ResolvedConfig { |
| 208 | const mode = config?.mode ?? "filtered"; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…