Skip to content

Commit dc32a14

Browse files
committed
build: add minimal type definitions for eslint-config-vuetify
1 parent 716a040 commit dc32a14

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "eslint config for vue.js projects",
55
"main": "index.js.mjs",
66
"module": "index.ts.mjs",
7+
"types": "types.d.ts",
78
"type": "module",
89
"repository": {
910
"type": "git",

types.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import type { Linter } from 'eslint';
2+
3+
declare module 'eslint-config-vuetify' {
4+
const config: Linter.Config[];
5+
export default config;
6+
}
7+
8+
declare module './index.js.mjs' {
9+
const config: Linter.Config[];
10+
}
11+
12+
declare module './index.ts.mjs' {
13+
const config: Linter.Config[];
14+
}

0 commit comments

Comments
 (0)