We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5872c commit 8fa3822Copy full SHA for 8fa3822
4 files changed
.changeset/neat-flies-cut.md
@@ -0,0 +1,5 @@
1
+---
2
+'@tanstack/eslint-config': patch
3
4
+
5
+fix: add types
packages/eslint-config/package.json
@@ -23,6 +23,7 @@
23
"exports": {
24
".": {
25
"import": {
26
+ "types": "./src/index.d.ts",
27
"default": "./src/index.js"
28
}
29
},
packages/eslint-config/src/index.d.ts
@@ -0,0 +1,3 @@
+import type { Linter } from 'eslint'
+export const tanstackConfig: Array<Linter.Config>
packages/eslint-config/src/index.js
@@ -35,7 +35,7 @@ const jsPlugins = {
35
node: nodePlugin,
36
37
38
-/** @type {import('eslint').Linter.Config[]} */
+/** @type {Array<import('eslint').Linter.Config>} */
39
export const tanstackConfig = [
40
{
41
name: 'tanstack/ignores',
0 commit comments