From 805fa6a50c5de214fc6d8f9edce067613d7d6139 Mon Sep 17 00:00:00 2001 From: ocavue Date: Sat, 12 Oct 2024 09:46:55 +1100 Subject: [PATCH] Fix Linter type import in index.d.ts --- lib/index.d.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 48006c40a..2651c4d55 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: { @@ -19,19 +21,19 @@ declare const vue: { } rules: Record processors: { - ".vue": any + '.vue': any vue: any } environments: { /** * @deprecated */ - "setup-compiler-macros": { + 'setup-compiler-macros': { globals: { - defineProps: "readonly" - defineEmits: "readonly" - defineExpose: "readonly" - withDefaults: "readonly" + defineProps: 'readonly' + defineEmits: 'readonly' + defineExpose: 'readonly' + withDefaults: 'readonly' } } }