stdproject/frontend/node_modules/eslint-plugin-prettier/recommended.d.ts

13 lines
301 B
TypeScript
Raw Normal View History

2025-05-30 13:43:31 +08:00
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;