We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0205886 commit 70cd004Copy full SHA for 70cd004
index.d.ts
@@ -0,0 +1,6 @@
1
+/**
2
+ * Hyphenates a camelcased CSS property name
3
+ */
4
+declare function hyphenateStyleName(name: string): string;
5
+
6
+export = hyphenateStyleName;
package.json
@@ -4,6 +4,7 @@
"description": "Hyphenates a camelcased CSS property name",
"main": "index.cjs.js",
"module": "index.js",
7
+ "types": "index.d.ts",
8
"sideEffects": false,
9
"scripts": {
10
"build": "rollup --input index.js --file index.cjs.js --format cjs",
@@ -16,7 +17,8 @@
16
17
},
18
"files": [
19
"index.js",
- "index.cjs.js"
20
+ "index.cjs.js",
21
+ "index.d.ts"
22
],
23
"repository": {
24
"type": "git",
0 commit comments