Skip to content

Commit

Permalink
Add types to exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 13, 2024
1 parent d3f10c9 commit 51137cf
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { Linter } from 'eslint'

declare const config: Linter.Config[]

export default config
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
}
},
"devDependencies": {
"@types/eslint": "^9.6.0",
"clean-publish": "^5.0.0",
"eslint": "^9.9.0",
"eslint-plugin-svelte": "^2.43.0",
Expand Down
16 changes: 16 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions svelte.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { Linter } from 'eslint'

declare const config: Linter.Config[]

export default config
5 changes: 5 additions & 0 deletions ts.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { Linter } from 'eslint'

declare const config: Linter.Config[]

export default config

0 comments on commit 51137cf

Please sign in to comment.