Thanks to visit codestin.com Credit goes to github.com
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.
commonjs
1 parent 8911369 commit 4e95a1dCopy full SHA for 4e95a1d
.changeset/quiet-shoes-knock.md
@@ -0,0 +1,5 @@
1
+---
2
+"eslint-config-prettier": patch
3
4
+
5
+fix: this package is `commonjs`, align its types correctly
flat.d.ts
@@ -1,3 +1,7 @@
-export * from "./index.js";
+import eslintConfigPrettier from "./index.js";
-export const name: "config-prettier";
+declare const eslintConfigPrettierFlat: typeof eslintConfigPrettier & {
+ name: "config-prettier";
+};
6
7
+export = eslintConfigPrettierFlat;
index.d.ts
@@ -1 +1,5 @@
-export const rules: Record<string, 0 | "off">;
+declare const eslintConfigPrettier: {
+ rules: Record<string, 0 | "off">;
+ };
+export = eslintConfigPrettier;
0 commit comments