Skip to content

Commit 57f5022

Browse files
Add typescript types (#283)
1 parent c1f01be commit 57f5022

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.5.4",
44
"description": "A Tailwind CSS plugin for automatically styling plain HTML content with beautiful typographic defaults.",
55
"main": "src/index.js",
6+
"types": "src/index.d.ts",
67
"files": [
78
"src/*.js",
89
"dist/"

src/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare function plugin(options?: { className?: string, target?: 'modern' | 'legacy' }): Function
2+
export = plugin

0 commit comments

Comments
 (0)