YM
2025-08-07 e5c64590b336221f132ed28ae4ae6dca3e03055c
1
2
3
4
5
6
7
8
9
10
11
12
import { Linter } from 'eslint';
 
// prettier-ignore
type IfEqual<A, B, X = A, Y = B> =
  (<G>() => G extends A & G | G ? 1 : 2) extends
  (<G>() => G extends B & G | G ? 1 : 2)
    ? X
    : Y;
 
declare const recommendedConfig: IfEqual<Linter.Config, Linter.FlatConfig>;
 
export = recommendedConfig;