From 465f7cd96ac09c4e0db8f03cf72f5dcbb098e579 Mon Sep 17 00:00:00 2001 From: Adam Hines Date: Mon, 14 Oct 2024 09:32:58 -0600 Subject: [PATCH] fix(types): importing Linter namespace from eslint The types for `Linter.LegacyConfig` and `Linter.FlatConfig[]` weren't being imported or defined by the declaration file, so they were being interpretted as `any` and `any[]` respectively by consumers. --- lib/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.d.ts b/lib/index.d.ts index 48006c40a..5959c55aa 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -1,3 +1,5 @@ +import type {Linter} from 'eslint' + declare const vue: { meta: any configs: {