Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aa476d6

Browse files
authored
Fix Linter type import in index.d.ts (#2572)
1 parent 635b6ed commit aa476d6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎lib/index.d.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { Linter } from 'eslint'
2+
13
declare const vue: {
24
meta: any
35
configs: {
@@ -19,19 +21,19 @@ declare const vue: {
1921
}
2022
rules: Record<string, any>
2123
processors: {
22-
".vue": any
24+
'.vue': any
2325
vue: any
2426
}
2527
environments: {
2628
/**
2729
* @deprecated
2830
*/
29-
"setup-compiler-macros": {
31+
'setup-compiler-macros': {
3032
globals: {
31-
defineProps: "readonly"
32-
defineEmits: "readonly"
33-
defineExpose: "readonly"
34-
withDefaults: "readonly"
33+
defineProps: 'readonly'
34+
defineEmits: 'readonly'
35+
defineExpose: 'readonly'
36+
withDefaults: 'readonly'
3537
}
3638
}
3739
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /