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 a61a83f commit 733a1c2Copy full SHA for 733a1c2
2 files changed
index.d.ts
@@ -0,0 +1,4 @@
1
+import type { Plugin } from "prettier";
2
+
3
+declare const plugin: Plugin;
4
+export default plugin;
package.json
@@ -7,17 +7,23 @@
7
"license": "MIT",
8
"unpkg": "./standalone.js",
9
"browser": "./standalone.js",
10
+ "types": "./index.d.ts",
11
"exports": {
12
".": {
13
14
15
"default": "./src/index.mjs"
16
},
- "./standalone": "./standalone.js",
17
+ "./standalone": {
18
19
+ "default": "./standalone.js"
20
+ },
21
"./package.json": "./package.json"
22
23
"files": [
24
"src",
- "standalone.js"
25
+ "standalone.js",
26
+ "index.d.ts"
27
],
28
"dependencies": {
29
"linguist-languages": "^8.0.0",
0 commit comments